2
0
Эх сурвалжийг харах

Oops. Fix string to match restored error text.

Malcolm Tyrrell 5 жил өмнө
parent
commit
962fe7cd4d

+ 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
     {