| 186 | TEST_CASE("state/require", "require using a function") { |
| 187 | struct open { |
| 188 | static int open_func(lua_State* L) { |
| 189 | sol::state_view lua = L; |
| 190 | return sol::stack::push(L, lua.create_table_with("modfunc", sol::as_function([]() { return 221; }))); |
| 191 | } |
| 192 | }; |
| 193 | |
| 194 | sol::state lua; |
nothing calls this directly
no test coverage detected