| 541 | } |
| 542 | |
| 543 | static int NumberErrorFunc(lua_State* L) { |
| 544 | // Test with a number - this should use tostring() behavior |
| 545 | lua_getglobal(L, "error"); |
| 546 | lua_pushnumber(L, 42.5); |
| 547 | lua_call(L, 1, 0); |
| 548 | return 0; // Never reached |
| 549 | } |
| 550 | |
| 551 | TEST_F(ScriptTestLua, TestNumberError) |
| 552 | { |
nothing calls this directly
no test coverage detected