6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 21:43:06 +01:00

Update gh_6778_test.py

Minor change: provide two backslashes for each regexp special character.
This commit is contained in:
Pavel Zotov 2023-03-10 19:34:45 +03:00 committed by GitHub
parent 51018f7690
commit d5dccfd1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ fb5_expected_stdout = """
PLAN JOIN (C A2 NATURAL, C A1 INDEX (IA1)) PLAN JOIN (C A2 NATURAL, C A1 INDEX (IA1))
""" """
act = python_act('db', substitutions=[('-- line(:)? \d+, col(umn)?(:)? \d+', '-- line, column')]) act = python_act('db', substitutions=[('-- line(:)?\\s+\\d+,\\s+col(umn)?(:)?\\s+\\d+', '-- line, column')])
@pytest.mark.version('>=4.0') @pytest.mark.version('>=4.0')
def test_1(act: Action): def test_1(act: Action):