Mention the index when some PostVS data doesn't match ref data in test

This commit is contained in:
baldurk
2019-01-22 16:55:39 +00:00
parent f140cd9669
commit 0cee61558a
+1 -1
View File
@@ -205,7 +205,7 @@ class TestCase:
raise TestFailureException('PostVS data[{}] doesn\'t contain data {} as expected. Data is: {}'.format(idx, key, list(data.keys())))
if not util.value_compare(ref[key], data[key]):
raise TestFailureException('PostVS data \'{}\': {} is not as expected: {}'.format(key, data[key], ref[key]))
raise TestFailureException('PostVS data[{}] \'{}\': {} is not as expected: {}'.format(idx, key, data[key], ref[key]))
log.success("Mesh data is identical to reference")