File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
# you may need to include it in quotes so it isn't expanded by the shell
21
21
# _before_ executing the {{cmd}} command.
22
22
23
- declare -r __GO_TEST_GLOB_ARGS=(' --ignore' ' bats/* ' ' tests' ' .bats' )
23
+ declare -r __GO_TEST_GLOB_ARGS=(' --ignore' ' bats' ' tests' ' .bats' )
24
24
25
25
_test_tab_completion () {
26
26
local word_index=" $1 "
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ teardown() {
20
20
@test " $SUITE : tab complete flags, first-level tests and directories" {
21
21
local expected=(' --coverage' ' --edit' ' --list' )
22
22
expected+=($( ' ./go' ' glob' ' --complete' ' 5' \
23
- ' --trim' ' --ignore' ' bats/* ' ' tests' ' .bats' ) )
23
+ ' --trim' ' --ignore' ' bats' ' tests' ' .bats' ) )
24
24
[[ " ${# expected[@]} " -ne 1 ]]
25
25
26
26
run ./go test --complete 0 ' '
@@ -51,7 +51,7 @@ _trim_expected() {
51
51
52
52
@test " $SUITE : no arguments after --list lists all tests" {
53
53
local expected=(
54
- $( ' ./go' ' glob' ' --trim' ' --ignore' ' bats/* ' ' tests' ' .bats' ) )
54
+ $( ' ./go' ' glob' ' --trim' ' --ignore' ' bats' ' tests' ' .bats' ) )
55
55
[[ " ${# expected[@]} " -ne 0 ]]
56
56
57
57
run ./go test --list
You can’t perform that action at this time.
0 commit comments