mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
tests: fix ConfigLuaValueTypes - boolBadType test, 0 and 1 are allowed integer values for bool type (#14240)
This commit is contained in:
@@ -89,7 +89,7 @@ TEST(ConfigLuaValueTypes, boolBadType) {
|
||||
|
||||
CLuaConfigBool value(false);
|
||||
|
||||
lua_pushinteger(L, 1);
|
||||
lua_pushinteger(L, 2);
|
||||
const auto err = value.parse(L);
|
||||
lua_pop(L, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user