Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(test): If json string not quoted is server error
Browse files Browse the repository at this point in the history
  • Loading branch information
Diadlo committed Oct 31, 2017
1 parent 967dab8 commit 7c74491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/net/toxmedata_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void TestToxmeData::extractCode_data()
QTest::newRow("String code") << QStringLiteral(R"({"c": "string here"})")
<< ToxmeData::ExecCode::IncorrectResponse;
QTest::newRow("Invalid code") << QStringLiteral(R"({"c": text})")
<< ToxmeData::ExecCode::IncorrectResponse;
<< ToxmeData::ExecCode::ServerError;
QTest::newRow("Not json") << QStringLiteral("Not json string")
<< ToxmeData::ExecCode::ServerError;
}
Expand Down

0 comments on commit 7c74491

Please sign in to comment.