diff options
author | Louis-Bertrand Varin <louisbvarin@gmail.com> | 2018-03-31 23:01:30 +0300 |
---|---|---|
committer | Louis-Bertrand Varin <louisbvarin@gmail.com> | 2018-03-31 23:01:30 +0300 |
commit | 8324d03f0a015e62b6182843b4478226a5197090 (patch) | |
tree | faf34febaec7c7e764d357dc5e439f6f2b1fcaf3 /tests/TestModified.cpp | |
parent | 74efc57369b068a0f93cb84ac68b6c17f64c8abe (diff) |
Formatting the code.
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r-- | tests/TestModified.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp index 0bf2c5b3a..0a9f0cfa2 100644 --- a/tests/TestModified.cpp +++ b/tests/TestModified.cpp @@ -141,7 +141,6 @@ void TestModified::testGroupSets() root->setIcon(root->iconUuid()); QCOMPARE(spyModified.count(), spyCount); - group->setUuid(Uuid::random()); QCOMPARE(spyModified.count(), ++spyCount); group->setUuid(group->uuid()); @@ -306,7 +305,7 @@ void TestModified::testHistoryItems() entry->setTitle("b"); entry->endUpdate(); QCOMPARE(entry->historyItems().size(), ++historyItemsSize); - auto *historyEntry = entry->historyItems().at(historyItemsSize - 1); + auto* historyEntry = entry->historyItems().at(historyItemsSize - 1); QCOMPARE(historyEntry->title(), QString("a")); QCOMPARE(historyEntry->uuid(), entry->uuid()); QCOMPARE(historyEntry->tags(), entry->tags()); @@ -475,7 +474,6 @@ void TestModified::testHistoryMaxSize() QCOMPARE(entry1->attachments()->attachmentsSize(), 6000 + key.size()); QCOMPARE(entry1->historyItems().size(), 4); - auto entry2 = new Entry(); entry2->setGroup(db->rootGroup()); QCOMPARE(entry2->historyItems().size(), 0); |