Skip to content

Commit

Permalink
fix: wrong copy&paste
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jan 20, 2024
1 parent 843e114 commit 3b5efbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/compose/compose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestDockerComposeStrategyForInvalidService(t *testing.T) {
// Appending with _1 as given in the Java Test-Containers Example
WithExposedService(compose.Format("mysql", "1"), 13306, wait.NewLogStrategy("started").WithStartupTimeout(10*time.Second).WithOccurrence(1)).
Invoke()
require.NoError(t, err.Error, "Expected error to be thrown because service with wait strategy is not running")
require.Error(t, err.Error, "Expected error to be thrown because service with wait strategy is not running")

assert.Len(t, compose.Services, 1)
assert.Contains(t, compose.Services, "nginx")
Expand Down

0 comments on commit 3b5efbc

Please sign in to comment.