From 962fe7cd4df0bf256c5930e00bb8d1a06e65eeb2 Mon Sep 17 00:00:00 2001 From: Malcolm Tyrrell Date: Thu, 20 Aug 2020 15:10:11 +0100 Subject: [PATCH] Oops. Fix string to match restored error text. --- test/unit/utImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utImporter.cpp b/test/unit/utImporter.cpp index 258d36fe5..5e84b2ae4 100644 --- a/test/unit/utImporter.cpp +++ b/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 {