And a last fix for the test we had to block while fixing implicit conversions, and we're good!

This commit is contained in:
ThePhD 2013-12-21 22:05:19 -05:00
parent 94c287810f
commit 3d44c6500e

View File

@ -312,7 +312,7 @@ TEST_CASE("tables/operator[]", "Check if operator[] retrieval and setting works
REQUIRE_NOTHROW(lua.script("assert(lamb(220) == 440)")); REQUIRE_NOTHROW(lua.script("assert(lamb(220) == 440)"));
// function retrieval of a lambda // function retrieval of a lambda
sol::function lamb;// = lua[ "lamb" ]; sol::function lamb = lua[ "lamb" ];
REQUIRE(lamb.call<int>(220) == 440); REQUIRE(lamb.call<int>(220) == 440);
// test const table retrieval // test const table retrieval