Skip to content

Commit 8c3ae04

Browse files
committed
test(_comp_dequote): enable the test for noglob
1 parent 05cf7d6 commit 8c3ae04

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/t/unit/test_unit_dequote.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ def test_glob_default(self, bash):
134134
)
135135
assert output.strip() == "<non-existent-*.txt>"
136136

137-
# def test_glob_noglob(self, bash):
138-
# with bash_env_saved(bash) as bash_env:
139-
# bash_env.set("noglob", True)
140-
# output = assert_bash_exec(
141-
# bash,
142-
# "__tester 'non-existent-*.txt'",
143-
# want_output=True,
144-
# )
145-
# assert output.strip() == "<non-existent-*.txt>"
137+
def test_glob_noglob(self, bash):
138+
with bash_env_saved(bash) as bash_env:
139+
bash_env.set("noglob", True)
140+
output = assert_bash_exec(
141+
bash,
142+
"__tester 'non-existent-*.txt'",
143+
want_output=True,
144+
)
145+
assert output.strip() == "<non-existent-*.txt>"
146146

147147
def test_glob_failglob(self, bash):
148148
with bash_env_saved(bash) as bash_env:

0 commit comments

Comments
 (0)