[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test failure in test_null_assign.m
From: |
Ben Abbott |
Subject: |
test failure in test_null_assign.m |
Date: |
Sun, 21 Jun 2009 12:14:34 -0400 |
My current tip is
$ hg tip
changeset: 9369:ff612fdaee95
tag: tip
user: Jaroslav Hajek <address@hidden>
date: Sat Jun 20 10:13:30 2009 +0200
summary: properly unshare variable in subsasgn
From fntests.log ...
1177 >>>>> processing test_null_assign
1178 ***** test
1179 a = ones (3); subsasgn (a, substruct ('()', {':',1:2}), []);
assert (size (a), [3,1])
1180 !!!!! test failed
1181 assert (size (a),[3, 1]) expected
1182 3 1
1183 but got
1184 3 3
1185 values do not match>>>>> processing test_prefer
It appears that line 1179 should be ...
1179 a = ones (3); a = subsasgn (a, substruct ('()', {':',1:2}), []);
assert (size (a), [3,1])
... which would result in a passing test.
I noticed the 3.2 sources have the same test, but passes for me. If my
inference regarding this test is correct, the test should be fixed in
the developers archive and in archive for 3.2. Meanwhile it appears
there remains a bug in the 3.2 sources (?).
Ben
- test failure in test_null_assign.m,
Ben Abbott <=