aboutsummaryrefslogtreecommitdiff
path: root/pkg/systemd/notifyproxy/notifyproxy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/systemd/notifyproxy/notifyproxy_test.go')
-rw-r--r--pkg/systemd/notifyproxy/notifyproxy_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/systemd/notifyproxy/notifyproxy_test.go b/pkg/systemd/notifyproxy/notifyproxy_test.go
index edad95659..066046cb8 100644
--- a/pkg/systemd/notifyproxy/notifyproxy_test.go
+++ b/pkg/systemd/notifyproxy/notifyproxy_test.go
@@ -37,11 +37,11 @@ func TestWaitAndClose(t *testing.T) {
time.Sleep(250 * time.Millisecond)
select {
case err := <-ch:
- t.Fatalf("Should stil be waiting but received %v", err)
+ t.Fatalf("Should still be waiting but received %v", err)
default:
}
- sendMessage(t, proxy, daemon.SdNotifyReady+"\nsomething else")
+ sendMessage(t, proxy, daemon.SdNotifyReady+"\nsomething else\n")
done := func() bool {
for i := 0; i < 10; i++ {
select {