Commit e679f39f authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarWalter Lozano <>
Signed-off-by: Simon Glass's avatarSimon Glass <>
Reviewed-by: default avatarWalter Lozano <>
parent 59747187
Pipeline #8637 passed with stages
in 50 minutes and 41 seconds
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment