Link to library we use for stacktraces.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -344,10 +344,9 @@ TEST_CASE("Handle script exceptions.") {
|
||||
auto mainLib = TestLibrary::GetLibrary();
|
||||
auto script = GetScript(mainLib, "throwScript"_cnc);
|
||||
REQUIRE(script != nullptr);
|
||||
try{
|
||||
try {
|
||||
TryException(script);
|
||||
}
|
||||
catch (const ArbUt::Exception& e){
|
||||
} catch (const ArbUt::Exception& e) {
|
||||
REQUIRE(strcmp(e.what(), "Script exception in script 'throwScript', line 1. Message: 'test exception'.") == 0);
|
||||
delete script;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user