From ebec92fd5b6b846b3fcf477a6d30f406706200f1 Mon Sep 17 00:00:00 2001 From: XinyuHou Date: Mon, 19 Oct 2015 12:26:28 -0700 Subject: [PATCH] Fix unit test failed compiling on Linux #5030 --- src/test/unittests/synergy/DpiHelperTests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/unittests/synergy/DpiHelperTests.cpp b/src/test/unittests/synergy/DpiHelperTests.cpp index 77527998..9dee828e 100644 --- a/src/test/unittests/synergy/DpiHelperTests.cpp +++ b/src/test/unittests/synergy/DpiHelperTests.cpp @@ -40,7 +40,7 @@ TEST(DpiHelperTests, calculateDpi_samePhysicalAndVirtualResolutions_defaultDpi) DpiHelper::calculateDpi(1920, 1080); - EXPECT_EQ(false, DpiHelper::s_dpiScaled); + EXPECT_FALSE(DpiHelper::s_dpiScaled); EXPECT_EQ(DpiHelper::kDefaultDpi, DpiHelper::s_dpi); } @@ -55,7 +55,7 @@ TEST(DpiHelperTests, calculateDpi_differentPhysicalAndVirtualResolutions_scaledD DpiHelper::calculateDpi(960, 540); - EXPECT_EQ(true, DpiHelper::s_dpiScaled); + EXPECT_TRUE(DpiHelper::s_dpiScaled); EXPECT_EQ(200, DpiHelper::s_dpi); } @@ -65,6 +65,6 @@ TEST(DpiHelperTests, calculateDpi_defaultStaticValues_defaultDpi) DpiHelper::calculateDpi(1920, 1080); - EXPECT_EQ(false, DpiHelper::s_dpiScaled); + EXPECT_FALSE(DpiHelper::s_dpiScaled); EXPECT_EQ(DpiHelper::kDefaultDpi, DpiHelper::s_dpi); }