diff --git a/tests/test_lua_createsinglecolorimage.cpp b/tests/test_lua_createsinglecolorimage.cpp index 8c6f8120e6..dbe0e3ca08 100644 --- a/tests/test_lua_createsinglecolorimage.cpp +++ b/tests/test_lua_createsinglecolorimage.cpp @@ -60,7 +60,9 @@ TEST_CASE("CreateSingleColorImage: Faulty 1st input type", "[createsinglecolorim CHECK_THROWS_WITH( openspace::luascriptfunctions::createSingleColorImage(L), - Catch::Matchers::Contains("parameter 1 was not the expected type") + Catch::Matchers::Contains( + "Expected type 'String' for parameter 1 but got wrong type 'Table'" + ) ); } @@ -71,7 +73,9 @@ TEST_CASE("CreateSingleColorImage: Faulty 2nd input type", "[createsinglecolorim CHECK_THROWS_WITH( openspace::luascriptfunctions::createSingleColorImage(L), - Catch::Matchers::Contains("parameter 2 was not the expected type") + Catch::Matchers::Contains( + "Expected type 'Table' for parameter 2 but got wrong type 'String'" + ) ); }