Commit 850ba7e636edb136916a2b5fa73b557ab5980759

Peter Hutterer 2020-09-07T08:22:32

test: fix the xkbcli --version test Fixes https://github.com/xkbcommon/libxkbcommon/issues/185 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

1
2
3
4
5
6
7
8
9
10
11
12
13
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 == ''