Ver Fonte

assert to skip the rest

AzaezelX há 2 anos atrás
pai
commit
678fd2a3cc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Engine/source/windowManager/test/windowManagerTest.cpp

+ 1 - 1
Engine/source/windowManager/test/windowManagerTest.cpp

@@ -29,7 +29,7 @@ TEST(WinMgr, BasicAPI)
 {
    PlatformWindowManager *pwm = CreatePlatformWindowManager();
 
-   EXPECT_TRUE(pwm)
+   ASSERT_TRUE(pwm)
       << "no monitor to test against!";
 
    // Check out the primary desktop area...