mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-08 12:39:49 -06:00
Update a couple of broken tests
This commit is contained in:
@@ -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'"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user