From 3b5efbc3e5d6f83e3944353f86c5d5487dffc0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Fri, 19 Jan 2024 23:14:37 -0500 Subject: [PATCH] fix: wrong copy&paste --- modules/compose/compose_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/compose/compose_test.go b/modules/compose/compose_test.go index 053ac169a6..bffec7bd94 100644 --- a/modules/compose/compose_test.go +++ b/modules/compose/compose_test.go @@ -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")