Skip to content

Commit d855c11

Browse files
authored
chore: make format golines (#404)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 188d1fb commit d855c11

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pkgmgr/package_test.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@ func TestServiceHooks_PreStartAndPreStop(t *testing.T) {
185185
t.Fatalf("preStart log file not found: %v", err)
186186
}
187187
if string(preStartOutput) != "prestart executed\n" {
188-
t.Errorf("unexpected preStart output: got %q, want %q", string(preStartOutput), "prestart executed\n")
188+
t.Errorf(
189+
"unexpected preStart output: got %q, want %q",
190+
string(preStartOutput),
191+
"prestart executed\n",
192+
)
189193
}
190194

191195
// Execute stopService and expect preStopScript to run
@@ -199,6 +203,10 @@ func TestServiceHooks_PreStartAndPreStop(t *testing.T) {
199203
t.Fatalf("preStop log file not found: %v", err)
200204
}
201205
if string(preStopOutput) != "prestop executed\n" {
202-
t.Errorf("unexpected preStop output: got %q, want %q", string(preStopOutput), "prestop executed\n")
206+
t.Errorf(
207+
"unexpected preStop output: got %q, want %q",
208+
string(preStopOutput),
209+
"prestop executed\n",
210+
)
203211
}
204212
}

0 commit comments

Comments
 (0)