Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niondir committed Sep 6, 2024
1 parent 1701112 commit 9603551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func TestStopWhenRunFails(t *testing.T) {
require.Len(t, c.ServiceErrors(), 1)
errs := c.ServiceErrors()

assert.NotNil(t, errs[s2.String()])
assert.NotNil(t, errs["/"+s2.String()])

assertServiceStartedAndStopped(t, s1)
assertServiceStartedAndStopped(t, s2)
Expand Down Expand Up @@ -316,7 +316,7 @@ func TestErrorOnShutdown(t *testing.T) {
require.Len(t, c.ServiceErrors(), 1)
errs := c.ServiceErrors()

assert.NotNil(t, errs[s2.String()])
assert.NotNil(t, errs["/"+s2.String()])

assertServiceStartedAndStopped(t, s1)
assertServiceStartedAndStopped(t, s2)
Expand Down

0 comments on commit 9603551

Please sign in to comment.