From 29c5cda86d783ac4ea3f0833d8f4d8285cd3bbcc Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Tue, 6 Feb 2024 22:08:22 +0100 Subject: [PATCH] Minor code style change. --- tests/magick-image/blur.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/magick-image/blur.spec.ts b/tests/magick-image/blur.spec.ts index c0ac8b0b..f5ac0730 100644 --- a/tests/magick-image/blur.spec.ts +++ b/tests/magick-image/blur.spec.ts @@ -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); }) });