tests: Fix order of values in assert message
This commit is contained in:
parent
27af0544ec
commit
2f555860ff
|
@ -111,7 +111,7 @@ Item {
|
|||
{
|
||||
var modelValue = testModel.data(testModel.index(i, 0));
|
||||
verify(modelValue === filter.expectedValues[i],
|
||||
"Expected testModel value " + modelValue + ", actual: " + filter.expectedValues[i]);
|
||||
"Expected testModel value " + filter.expectedValues[i] + ", actual: " + modelValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ Item {
|
|||
{
|
||||
var modelValue = testModel.data(testModel.index(i, 0), "value");
|
||||
verify(modelValue === filter.expectedValues[i],
|
||||
"Expected testModel value " + modelValue + ", actual: " + filter.expectedValues[i]);
|
||||
"Expected testModel value " + filter.expectedValues[i] + ", actual: " + modelValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ Item {
|
|||
{
|
||||
var modelValue = testModel.get(i, sorter.roleName);
|
||||
verify(modelValue === sorter.expectedValues[i],
|
||||
"Expected testModel value " + modelValue + ", actual: " + sorter.expectedValues[i]);
|
||||
"Expected testModel value " + sorter.expectedValues[i] + ", actual: " + modelValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue