aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/cmd/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/cmd/test.go')
-rw-r--r--client/go/cmd/test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/go/cmd/test.go b/client/go/cmd/test.go
index f659ac71be2..d6fdc9d2e41 100644
--- a/client/go/cmd/test.go
+++ b/client/go/cmd/test.go
@@ -57,7 +57,11 @@ $ vespa test src/test/application/tests/system-test/feed-and-query.json`,
fmt.Fprintf(stdout, "Failed to find any tests at %v\n", testPath)
exitFunc(3)
} else {
- fmt.Fprintf(stdout, "\n%d tests completed successfully\n", count)
+ plural := "s"
+ if count == 1 {
+ plural = ""
+ }
+ fmt.Fprintf(stdout, "\n%d test%s completed successfully\n", count, plural)
}
},
}