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 2399512 commit 1fab0f9Copy full SHA for 1fab0f9
misc/review
@@ -184,15 +184,18 @@ units_inspect_show_input ()
184
inspect_cmd_show_generic $tcase $(basename ./Units/${tcase}/input.*) pygmentize_or_cat
185
}
186
187
+# See https://stackoverflow.com/questions/65533232/bash-extglob-pattern-matching-breaks-when-enclosed-in-a-function
188
+shopt -s extglob
189
units_inspect_show_expected_tags ()
190
{
191
local tcase=$1
192
193
(
194
shopt -s extglob
- inspect_cmd_show_generic $tcase $(basename ./Units/${tcase}/expected.tags?(-*)) "cat" "-n"
195
+ inspect_cmd_show_generic $tcase $(basename ./Units/${tcase}/expected.tags?\(-*\)) "cat" "-n"
196
)
197
198
+shopt -u extglob
199
200
inspect_cmd_quit ()
201
0 commit comments