aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <schwancarl@protonmail.com>2021-01-11 23:26:08 +0100
committerCarl Schwan <carl@carlschwan.eu>2021-01-21 19:21:45 +0100
commit0368242c543d388b789eb02f22552128e3b14c18 (patch)
tree7a3f10038f10adbd016705ff2f3777db65169aa1
parent17e62b85cae99d8485be44f90f0622e4ba843fa0 (diff)
downloadlibquotient-0368242c543d388b789eb02f22552128e3b14c18.tar.gz
libquotient-0368242c543d388b789eb02f22552128e3b14c18.zip
Apply suggestions from code review
Co-authored-by: Kitsune Ral <Kitsune-Ral@users.sf.net>
-rw-r--r--tests/callcandidateseventtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/callcandidateseventtest.cpp b/tests/callcandidateseventtest.cpp
index 27108fdd..ca908db3 100644
--- a/tests/callcandidateseventtest.cpp
+++ b/tests/callcandidateseventtest.cpp
@@ -7,7 +7,7 @@
void TestCallCandidatesEvent::fromJson()
{
- auto documemt = QJsonDocument::fromJson(R"({
+ auto document = QJsonDocument::fromJson(R"({
"age": 242352,
"content": {
"call_id": "12345",
@@ -27,7 +27,7 @@ void TestCallCandidatesEvent::fromJson()
"type": "m.call.candidates"
})");
- QVERIFY(documemt.isObject());
+ QVERIFY(document.isObject());
auto object = documemt.object();