File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments