# HG changeset patch # User Jaroslav Hajek # Date 1245650120 -7200 # Node ID 14dca190857f4c273caf9c7ef0666437150a2db9 # Parent ff612fdaee956d05a5bae9c34dfdcc3f3a6b5a32 fix null assign test diff --git a/test/ChangeLog b/test/ChangeLog --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +2009-06-22 Jaroslav Hajek + + * test_null_assign.m: Fix test. + 2009-04-17 Thorsten Meyer * test_struct.m: Add tests to prevent regression of bug with diff --git a/test/test_null_assign.m b/test/test_null_assign.m --- 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)", ".")