Skip to content

Commit c557cff

Browse files
committed
chore: simplify test assertions
1 parent e6a8c20 commit c557cff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

options_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ func TestWithReuseByName_ErrorsWithoutContainerNameProvided(t *testing.T) {
572572
opt := testcontainers.WithReuseByName("")
573573
err := opt.Customize(req)
574574

575-
require.Error(t, err)
576575
require.ErrorContains(t, err, "container name must be provided for reuse")
577576
require.False(t, req.Reuse)
578577
require.Empty(t, req.Name)

0 commit comments

Comments
 (0)