chore(tests): don't use variants 😠 (#5840)
This commit is contained in:
@@ -605,8 +605,7 @@ TEST_P(TestIrcMessageHandlerP, Run)
|
|||||||
|
|
||||||
ASSERT_TRUE(snapshot->run(got, UPDATE_SNAPSHOTS))
|
ASSERT_TRUE(snapshot->run(got, UPDATE_SNAPSHOTS))
|
||||||
<< "Snapshot " << snapshot->name() << " failed. Expected JSON to be\n"
|
<< "Snapshot " << snapshot->name() << " failed. Expected JSON to be\n"
|
||||||
<< QJsonDocument::fromVariant(snapshot->output().toVariant()).toJson()
|
<< QJsonDocument(snapshot->output().toArray()).toJson() << "\nbut got\n"
|
||||||
<< "\nbut got\n"
|
|
||||||
<< QJsonDocument(got).toJson() << "\ninstead.";
|
<< QJsonDocument(got).toJson() << "\ninstead.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user