Skip to content

Commit ad40524

Browse files
committed
test: adjust regexp that checks 'version --short'
1 parent 997becd commit ad40524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/version/test_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def check_internal_version_cmd(tt_cmd, tmp_path):
1212
cmd = [tt_cmd, "-I", "version", "--short"]
1313
rc, output = utils.run_command_and_get_output(cmd, cwd=tmp_path)
1414
assert rc == 0
15-
assert re.match(r"(\d+.\d+.\d+|<unknown>)", output)
15+
assert re.match(r"(\d+.\d+.\d+|<unknown>)$", output)
1616

1717
cmd = [tt_cmd, "-I", "version", "--commit"]
1818
rc, output = utils.run_command_and_get_output(cmd, cwd=tmp_path)

0 commit comments

Comments
 (0)