Mercurial > hg > octave-lyh
diff scripts/strings/strtrunc.m @ 11473:44032aac5223
Correct failing error() tests due to change in capitalization of previous changeset.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:45:12 -0800 |
parents | 1740012184f9 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/strings/strtrunc.m +++ b/scripts/strings/strtrunc.m @@ -53,7 +53,7 @@ endfunction %!error <Invalid call to strtrunc> strtrunc (); -%!error <s must be a character string or a cell array of strings> strtrunc (1, 1) +%!error <S must be a character string or a cell array of strings> strtrunc (1, 1) %!assert (strtrunc("abcdefg", 4), "abcd"); %!assert (strtrunc("abcdefg", 10), "abcdefg"); %!assert (strtrunc({"abcdef", "fedcba"}, 3), {"abc", "fed"});