We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c9fd2 commit fda2e1aCopy full SHA for fda2e1a
test/t/unit/test_unit_dequote.py
@@ -54,7 +54,7 @@ def test_7_quote_2(self, bash, functions):
54
55
def test_7_quote_3(self, bash, functions):
56
output = assert_bash_exec(
57
- bash, "__tester \\$\\'a\\\\tb\\'", want_output=True
+ bash, r"__tester \$\'a\\tb\'", want_output=True
58
)
59
assert output.strip() == "<a\tb>"
60
@@ -66,7 +66,7 @@ def test_7_quote_4(self, bash, functions):
66
67
def test_7_quote_5(self, bash, functions):
68
69
- bash, "__tester \\'abc\\'\\\\\\'\\'def\\'", want_output=True
+ bash, r"__tester \'abc\'\\\'\'def\'", want_output=True
70
71
assert output.strip() == "<abc'def>"
72
test/t/unit/test_unit_dequote_incomplete.py
@@ -54,7 +54,7 @@ def test_quote_2(self, bash, functions):
def test_quote_3(self, bash, functions):
@@ -66,12 +66,12 @@ def test_quote_4(self, bash, functions):
def test_quote_5(self, bash, functions):
73
def test_incomplete_1(self, bash, functions):
74
- output = assert_bash_exec(bash, "__tester 'a\\'", want_output=True)
+ output = assert_bash_exec(bash, r"__tester 'a\'", want_output=True)
75
assert output.strip() == "<a>"
76
77
def test_incomplete_2(self, bash, functions):
0 commit comments