changeset 2824:0e1b79bc4a2d

fix for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Sep 2018 16:31:42 +0200
parents 807169f85ba9
children 8aa6aef11b70
files UnitTestsSources/RestApiTests.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/RestApiTests.cpp	Tue Sep 18 15:38:18 2018 +0200
+++ b/UnitTestsSources/RestApiTests.cpp	Tue Sep 18 16:31:42 2018 +0200
@@ -633,9 +633,9 @@
     std::set<std::string> tmp;
     p.ListUserProperties(tmp);
     ASSERT_EQ(2u, tmp.size());
-    ASSERT_NE(tmp.find("a"), tmp.end());
-    ASSERT_NE(tmp.find("Hello"), tmp.end());
-    ASSERT_EQ(tmp.find("hello"), tmp.end());
+    ASSERT_TRUE(tmp.find("a")     != tmp.end());
+    ASSERT_TRUE(tmp.find("Hello") != tmp.end());
+    ASSERT_TRUE(tmp.find("hello") == tmp.end());
 
     std::string s;
     ASSERT_TRUE(p.LookupUserProperty(s, "a"));      ASSERT_TRUE(s == "b");