[gnote] Handle possible duplications of templates
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Handle possible duplications of templates
- Date: Sun, 22 Mar 2020 14:01:17 +0000 (UTC)
commit 636dde28a56097b1db1dce53b5215cfa9040fe62
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Mar 22 15:50:37 2020 +0200
Handle possible duplications of templates
src/test/unit/syncmanagerutests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/test/unit/syncmanagerutests.cpp b/src/test/unit/syncmanagerutests.cpp
index 4e3c420c..ebf2624c 100644
--- a/src/test/unit/syncmanagerutests.cpp
+++ b/src/test/unit/syncmanagerutests.cpp
@@ -298,7 +298,7 @@ SUITE(SyncManagerTests)
sync_client1.reparse();
sync_manager1->perform_synchronization(sync_ui1);
get_notes_in_dir(notesdir1);
- REQUIRE CHECK_EQUAL(3, files.size()); // 2 downloaded notes + template
+ REQUIRE CHECK(3 <= files.size()); // 2 downloaded notes + template(s)
CHECK(find_note_in_files("note1"));
CHECK(find_note_in_files("note3"));
CHECK(!find_note_in_files("note2"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]