diff options
| author | Maxim Andreev <andreevmaxim@gmail.com> | 2026-05-01 15:39:16 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-01 12:39:16 +0100 |
| commit | e2ba19535ddf3a3f4d0ce3236403895d9e7661cc (patch) | |
| tree | 9c9b315fa71a263ef77bd1c5a994de89a04d9130 | |
| parent | a45de66d22d696cd4e60444176641d59bc65db6c (diff) | |
tests: fix ConfigLuaValueTypes - boolBadType test, 0 and 1 are allowed integer values for bool type (#14240)
| -rw-r--r-- | tests/config/lua/ConfigValueTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/lua/ConfigValueTypes.cpp b/tests/config/lua/ConfigValueTypes.cpp index 76de98bf..4ee81876 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); |
