浏览代码

assert to skip the rest

AzaezelX 2 年之前
父节点
当前提交
678fd2a3cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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...