Skip to content

Commit 1ddef39

Browse files
committed
Fix tests on luau
1 parent 251b34e commit 1ddef39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/Source/Tests.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ TEST_F(LuaBridgeTest, Exception)
519519
const auto error = call_callback_get_exception(cb2);
520520
EXPECT_NE(std::string::npos, error.find("The lua function invocation raised an error"));
521521
EXPECT_NE(std::string::npos, error.find("attempt to index"));
522-
EXPECT_NE(std::string::npos, error.find("a nil value"));
523-
EXPECT_NE(std::string::npos, error.find("global 'this'"));
522+
EXPECT_NE(std::string::npos, error.find(" nil "));
524523
}
525524
#endif

0 commit comments

Comments
 (0)