Browse code

Fix some minor wording / issues

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/01/03 21:05:22
Showing 2 changed files
... ...
@@ -72,7 +72,7 @@ func TestStopContainerWithTimeout(t *testing.T) {
72 72
 
73 73
 func TestDeleteDevicemapper(t *testing.T) {
74 74
 	skip.If(t, testEnv.DaemonInfo.Driver != "devicemapper")
75
-	skip.If(t, testEnv.IsRemoteDaemon, "cannot start daemon on remote test run")
75
+	skip.If(t, testEnv.IsRemoteDaemon)
76 76
 
77 77
 	defer setupTest(t)()
78 78
 	client := testEnv.APIClient()
... ...
@@ -66,7 +66,7 @@ func New(t testingT, dir string, modifiers ...func(*fakecontext.Fake) error) Fak
66 66
 	ctx := fakecontext.New(t, dir, modifiers...)
67 67
 	switch {
68 68
 	case testEnv.IsRemoteDaemon() && strings.HasPrefix(request.DaemonHost(), "unix:///"):
69
-		t.Skip(fmt.Sprintf("e2e run : daemon is remote but docker host points to a unix socket"))
69
+		t.Skip("e2e run : daemon is remote but docker host points to a unix socket")
70 70
 	case testEnv.IsLocalDaemon():
71 71
 		return newLocalFakeStorage(ctx)
72 72
 	default: