From e2ba19535ddf3a3f4d0ce3236403895d9e7661cc Mon Sep 17 00:00:00 2001 From: Maxim Andreev Date: Fri, 1 May 2026 15:39:16 +0400 Subject: [PATCH] tests: fix ConfigLuaValueTypes - boolBadType test, 0 and 1 are allowed integer values for bool type (#14240) --- tests/config/lua/ConfigValueTypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/config/lua/ConfigValueTypes.cpp b/tests/config/lua/ConfigValueTypes.cpp index 76de98bf9..4ee818761 100644 --- a/tests/config/lua/ConfigValueTypes.cpp +++ b/tests/config/lua/ConfigValueTypes.cpp @@ -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);