Skip to content

Commit

Permalink
require empty pkg on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Rodriguez committed May 22, 2024
1 parent d2cbe84 commit 55ac6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/packager/creator/compose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func TestComposeComponents(t *testing.T) {
}

require.EqualError(t, err, tt.expectedErr)
require.Equal(t, tt.expectedPkg.Components, pkg.Components)
require.Empty(t, tt.expectedPkg)
})
}
}

0 comments on commit 55ac6aa

Please sign in to comment.