diff --git a/tests.cpp b/tests.cpp index fc67753c..3215036a 100644 --- a/tests.cpp +++ b/tests.cpp @@ -863,7 +863,7 @@ TEST_CASE("regressions/one", "issue number 48") { sol::state lua; lua.new_userdata("vars", "boop", &vars::boop); - REQUIRE_NOTHROW(lua.script("local beep = vars.new()\n" + REQUIRE_NOTHROW(lua.script("beep = vars.new()\n" "beep.boop = 1")); // test for segfault auto my_var = lua.get("beep");