Commit e309b83a authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Use toString for value comparison in SensorFaceControllerTest

Otherwise we're comparing QJsonValue which works but doesn't print the
values when there's an error.
parent a6860b99
......@@ -205,7 +205,7 @@ private Q_SLOTS:
QCOMPARE(sensors.size(), expectedSensors.size());
for (int i = 0; i < sensors.size(); ++i) {
QCOMPARE(sensors.at(i), expectedSensors.at(i));
QCOMPARE(sensors.at(i).toString(), expectedSensors.at(i).toString());
}
auto newEntry = sensorsGroup.readEntry("sensors");
......
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