Oops. Fix string to match restored error text.

pull/3375/head
Malcolm Tyrrell 2020-08-20 15:10:11 +01:00
parent fa93ba76fe
commit 962fe7cd4d
1 changed files with 1 additions and 1 deletions

View File

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