mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Update catch internally and make sure there's no errors in the tests for unused variables
This commit is contained in:
parent
1c5ea757c8
commit
bf7ddd7bde
2
Catch
2
Catch
|
@ -1 +1 @@
|
|||
Subproject commit 3b4edd7a4849e05fd9d006bf652190729a32906f
|
||||
Subproject commit b1835e1de9b0e321953942de19c31aa85b00b7f2
|
|
@ -205,7 +205,7 @@ end )");
|
|||
REQUIRE_FALSE((bool)testn);
|
||||
REQUIRE(testv.value() == 29);
|
||||
sol::optional<thing> v = lua_bark(sol::optional<thing>(thing{ 29 }));
|
||||
REQUIRE_NOTHROW([&]{sol::nil_t n = lua_bark(sol::nullopt);}());
|
||||
REQUIRE_NOTHROW([&] {sol::nil_t n = lua_bark(sol::nullopt); return n; }());
|
||||
REQUIRE(v->v == 29);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user