summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-09-07 08:22:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-09-07 11:15:08 +1000
commit850ba7e636edb136916a2b5fa73b557ab5980759 (patch)
tree38728f8a1793fab5dae886c92f2cde2f58f58773
parentc6df60d8a72df53cede08ae9ae11488cef2e7248 (diff)
downloadlibxkbcommon-850ba7e636edb136916a2b5fa73b557ab5980759.tar.gz
libxkbcommon-850ba7e636edb136916a2b5fa73b557ab5980759.tar.bz2
libxkbcommon-850ba7e636edb136916a2b5fa73b557ab5980759.zip
test: fix the xkbcli --version test
Fixes https://github.com/xkbcommon/libxkbcommon/issues/185 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-xtest/tool-option-parsing.py2
1 files changed, 1 insertions, 1 deletions
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 == ''