Skip to content

Commit

Permalink
Minor code style change.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 6, 2024
1 parent 26769e5 commit 29c5cda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/magick-image/blur.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ describe('MagickImage#blur', () => {
});

it('should not confuse channels for radius', () => {
TestImages.Builtin.logo.use(imageA => {
imageA.clone(imageB => {
imageA.blur(Channels.Blue);
imageB.blur(4, 1);
TestImages.Builtin.logo.use(image => {
image.clone(other => {
image.blur(Channels.Blue);
other.blur(4, 1);

const difference = imageB.compare(imageA, ErrorMetric.RootMeanSquared);
const difference = other.compare(image, ErrorMetric.RootMeanSquared);
expect(difference).not.toBe(0);
})
});
Expand Down

0 comments on commit 29c5cda

Please sign in to comment.