Mercurial > hg > orthanc
changeset 4276:68e24935f258
fix for visual studio
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 17:00:58 +0100 |
parents | d7a50b7b8466 |
children | c5ca798b158a |
files | OrthancFramework/UnitTestsSources/LoggingTests.cpp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/LoggingTests.cpp Tue Nov 03 14:41:27 2020 +0100 +++ b/OrthancFramework/UnitTestsSources/LoggingTests.cpp Tue Nov 03 17:00:58 2020 +0100 @@ -384,11 +384,11 @@ } ASSERT_EQ(5u, s.size()); - ASSERT_NE(s.end(), s.find("generic")); - ASSERT_NE(s.end(), s.find("plugins")); - ASSERT_NE(s.end(), s.find("rest")); - ASSERT_NE(s.end(), s.find("sqlite")); - ASSERT_NE(s.end(), s.find("dicom")); + ASSERT_TRUE(s.find("generic") != s.end()); + ASSERT_TRUE(s.find("plugins") != s.end()); + ASSERT_TRUE(s.find("rest") != s.end()); + ASSERT_TRUE(s.find("sqlite") != s.end()); + ASSERT_TRUE(s.find("dicom") != s.end()); ASSERT_THROW(Logging::GetCategoryName(Logging::GetCategoriesCount()), OrthancException);