test: fix the xkbcli --version test Fixes https://github.com/xkbcommon/libxkbcommon/issues/185 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
diff --git a/test/tool-option-parsing.py b/test/tool-option-parsing.py
index de638d1..367e799 100755
--- a/test/tool-option-parsing.py
+++ b/test/tool-option-parsing.py
@@ -170,7 +170,7 @@ def test_invalid_option(tool):
# xkbcli --version
def test_xkbcli_version(xkbcli):
stdout, stderr = xkbcli.run_command_success(['--version'])
- assert stdout.startswith('0')
+ assert stdout.startswith('1')
assert stderr == ''