Mercurial > hg > octave-lyh
diff test/test_null_assign.m @ 9369:14dca190857f
fix null assign test
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 22 Jun 2009 07:55:20 +0200 |
parents | 2bc8ec18b2ea |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/test/test_null_assign.m +++ b/test/test_null_assign.m @@ -57,7 +57,7 @@ % subsasgn should work the same way %!test -%! a = ones (3); subsasgn (a, substruct ('()', {':',1:2}), []); assert (size (a), [3,1]) +%! a = ones (3); a = subsasgn (a, substruct ('()', {':',1:2}), []); assert (size (a), [3,1]) %!test %! a = ones (3); b = []; fail ("subsasgn (a, substruct ('()', {':',1:2}), b)", ".")