Skip to content

Commit 78a7bbe

Browse files
acote88Antoine Cotelionello
authored
Move the version test out of the 'short' group (#656)
* Move the version test out of the 'short' group because it's trying to connect to fabric * Update src/cmd/cli/command/commands_test.go --------- Co-authored-by: Antoine Cote <[email protected]> Co-authored-by: Lio李歐 <[email protected]>
1 parent 906ea23 commit 78a7bbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cmd/cli/command/commands_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import (
66
)
77

88
func TestVersion(t *testing.T) {
9+
if testing.Short() {
10+
t.Skip("skipping test in short mode.")
11+
}
912
err := testCommand([]string{"version"})
1013
if err != nil {
1114
t.Fatalf("Version() failed: %v", err)

0 commit comments

Comments
 (0)