From 0a2050769c99d1cd9a2d5b49036acd2af9a16594 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 7 Sep 2014 01:06:08 -0400 Subject: [PATCH] Remove local from variable in test. --- tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");