mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
And a last fix for the test we had to block while fixing implicit conversions, and we're good!
This commit is contained in:
parent
94c287810f
commit
3d44c6500e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user