Skip to content

Commit 6fed3c8

Browse files
committed
fix tests
1 parent 91a2170 commit 6fed3c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/orchestrator/bricks/bricks_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,7 @@ func TestAppBrickInstanceModelsDetails(t *testing.T) {
628628

629629
if tt.expectedError != "" {
630630
require.Error(t, err)
631-
if err != nil {
632-
require.Contains(t, err.Error(), tt.expectedError)
633-
}
631+
require.Equal(t, err.Error(), tt.expectedError)
634632
return
635633
}
636634

0 commit comments

Comments
 (0)