Skip to content

Commit f4bbd25

Browse files
committed
Enhance the error message
1 parent b4ef83b commit f4bbd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func version(t *utils.T) error {
3737

3838
fields := strings.Fields(string(out))
3939
if len(fields) != 3 {
40-
return fmt.Errorf("unexpected version string")
40+
return fmt.Errorf("unexpected version string '%s'", out)
4141
}
4242

4343
expected := fields[2]

0 commit comments

Comments
 (0)