mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 04:44:46 +00:00
dtoc: Correct the intarray-widening test case
This case was intended to check that widening an int array with an int does nothing. Fix it. Reported-by: Walter Lozano <walter.lozano@collabora.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Walter Lozano <walter.lozano@collabora.com>
This commit is contained in:
parent
5974718752
commit
e679f39f7f
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ class TestProp(unittest.TestCase):
|
|||
|
||||
# Widen an array of ints with an int (should do nothing)
|
||||
prop = self.node.props['intarray']
|
||||
prop2 = node2.props['intarray']
|
||||
prop2 = node2.props['intval']
|
||||
self.assertEqual(Type.INT, prop.type)
|
||||
self.assertEqual(3, len(prop.value))
|
||||
prop.Widen(prop2)
|
||||
|
|
Loading…
Add table
Reference in a new issue