Mercurial > hg > octave-thorsten
changeset 9369:14dca190857f
fix null assign test
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 22 Jun 2009 07:55:20 +0200 |
parents | ff612fdaee95 |
children | 4ff6f8efdda2 |
files | test/ChangeLog test/test_null_assign.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +2009-06-22 Jaroslav Hajek <highegg@gmail.com> + + * test_null_assign.m: Fix test. + 2009-04-17 Thorsten Meyer <thorsten.meyier@gmx.de> * test_struct.m: Add tests to prevent regression of bug with
--- 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)", ".")