Mercurial > hg > octave-lyh
changeset 12004:ff8c445edeb4 release-3-2-x
fix null assign test
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 22 Jun 2009 07:56:24 +0200 |
parents | 10fb62b82108 |
children | d3b6e85aaf53 |
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-05-25 Jaroslav Hajek <highegg@gmail.com> Version 3.2.0 released.
--- 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)", ".")