File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ func createErrorContainerNotFound(container string) error {
74
74
func createErrorInvalidContainer (containerArg string ) error {
75
75
var builder strings.Builder
76
76
fmt .Fprintf (& builder , "invalid argument for '%s'\n " , containerArg )
77
- fmt .Fprintf (& builder , "Container names must match '%s'\n " , utils .ContainerNameRegexp )
77
+ fmt .Fprintf (& builder , "Container names must match '%s'. \n " , utils .ContainerNameRegexp )
78
78
fmt .Fprintf (& builder , "Run '%s --help' for usage." , executableBase )
79
79
80
80
errMsg := builder .String ()
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ teardown() {
43
43
44
44
assert_failure
45
45
assert_line --index 0 " Error: invalid argument for 'CONTAINER'"
46
- assert_line --index 1 " Container names must match '[a-zA-Z0-9][a-zA-Z0-9_.-]*'"
46
+ assert_line --index 1 " Container names must match '[a-zA-Z0-9][a-zA-Z0-9_.-]*'. "
47
47
assert_line --index 2 " Run 'toolbox --help' for usage."
48
48
}
49
49
@@ -52,7 +52,7 @@ teardown() {
52
52
53
53
assert_failure
54
54
assert_line --index 0 " Error: invalid argument for '--container'"
55
- assert_line --index 1 " Container names must match '[a-zA-Z0-9][a-zA-Z0-9_.-]*'"
55
+ assert_line --index 1 " Container names must match '[a-zA-Z0-9][a-zA-Z0-9_.-]*'. "
56
56
assert_line --index 2 " Run 'toolbox --help' for usage."
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments