Răsfoiți Sursa

assert to skip the rest

AzaezelX 2 ani în urmă
părinte
comite
678fd2a3cc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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();
    PlatformWindowManager *pwm = CreatePlatformWindowManager();
 
 
-   EXPECT_TRUE(pwm)
+   ASSERT_TRUE(pwm)
       << "no monitor to test against!";
       << "no monitor to test against!";
 
 
    // Check out the primary desktop area...
    // Check out the primary desktop area...