Browse Source

Oops. Fix string to match restored error text.

Malcolm Tyrrell 5 năm trước cách đây
mục cha
commit
962fe7cd4d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/unit/utImporter.cpp

+ 1 - 1
test/unit/utImporter.cpp

@@ -366,7 +366,7 @@ TEST_F(ImporterTest, unexpectedException)
     const aiScene* scene = pImp->ReadFile("unexpectedException.fail", 0);
 
     EXPECT_EQ(scene, nullptr);
-    EXPECT_STREQ(pImp->GetErrorString(), "Internal error");
+    EXPECT_STREQ(pImp->GetErrorString(), "Unknown exception");
     ASSERT_NE(pImp->GetException(), std::exception_ptr());
     try
     {