mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
kek tests
This commit is contained in:
parent
12eb1168e2
commit
0b6c7f47e7
@ -60,7 +60,7 @@ TEST_CASE("functions/empty std functions", "std::function is allowed to be empty
|
|||||||
Bar()
|
Bar()
|
||||||
end
|
end
|
||||||
|
|
||||||
if Foo ~= nil or type(Foo) ~= 'function'
|
if Foo ~= nil or type(Foo) == 'function'
|
||||||
then
|
then
|
||||||
Foo()
|
Foo()
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user