Browse Source

Oops. Fix string to match restored error text.

Malcolm Tyrrell 5 years ago
parent
commit
962fe7cd4d
1 changed files with 1 additions and 1 deletions
  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);
     const aiScene* scene = pImp->ReadFile("unexpectedException.fail", 0);
 
 
     EXPECT_EQ(scene, nullptr);
     EXPECT_EQ(scene, nullptr);
-    EXPECT_STREQ(pImp->GetErrorString(), "Internal error");
+    EXPECT_STREQ(pImp->GetErrorString(), "Unknown exception");
     ASSERT_NE(pImp->GetException(), std::exception_ptr());
     ASSERT_NE(pImp->GetException(), std::exception_ptr());
     try
     try
     {
     {