From 8dec9628a7e910059dfbd1b2f644b0474631864e Mon Sep 17 00:00:00 2001 From: fregante Date: Mon, 21 Oct 2024 07:01:45 +0700 Subject: [PATCH] Update snapshots (#2485) --- package.json | 1 + .../no-negation-in-equality-check.mjs.md | 22 +++++++++--------- .../no-negation-in-equality-check.mjs.snap | Bin 763 -> 763 bytes 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 0902c2efde..0c0f92fd38 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "fix:eslint-docs": "eslint-doc-generator", "fix:js": "npm run lint:js -- --fix", "fix:markdown": "npm run lint:markdown -- --fix", + "fix:snapshots": "ava --update-snapshots", "integration": "node ./test/integration/test.mjs", "lint": "run-p --continue-on-error lint:*", "lint:eslint-docs": "npm run fix:eslint-docs -- --check", diff --git a/test/snapshots/no-negation-in-equality-check.mjs.md b/test/snapshots/no-negation-in-equality-check.mjs.md index 3b58274050..9c05b86330 100644 --- a/test/snapshots/no-negation-in-equality-check.mjs.md +++ b/test/snapshots/no-negation-in-equality-check.mjs.md @@ -16,7 +16,7 @@ Generated by [AVA](https://avajs.dev). `␊ > 1 | !foo === bar␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!==' check.␊ @@ -35,7 +35,7 @@ Generated by [AVA](https://avajs.dev). `␊ > 1 | !foo !== bar␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '===' check.␊ @@ -54,7 +54,7 @@ Generated by [AVA](https://avajs.dev). `␊ > 1 | !foo == bar␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!=' check.␊ @@ -73,7 +73,7 @@ Generated by [AVA](https://avajs.dev). `␊ > 1 | !foo != bar␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '==' check.␊ @@ -95,7 +95,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | function x() {␊ > 2 | return!foo === bar;␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ 3 | }␊ ␊ --------------------------------------------------------------------------------␊ @@ -123,7 +123,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | function x() {␊ > 2 | return!␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ 3 | foo === bar;␊ 4 | throw!␊ 5 | foo === bar;␊ @@ -146,7 +146,7 @@ Generated by [AVA](https://avajs.dev). 2 | return!␊ 3 | foo === bar;␊ > 4 | throw!␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ 5 | foo === bar;␊ 6 | }␊ ␊ @@ -174,7 +174,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | foo␊ > 2 | !(a) === b␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!==' check.␊ @@ -196,7 +196,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | foo␊ > 2 | ![a, b].join('') === c␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!==' check.␊ @@ -218,7 +218,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | foo␊ > 2 | ! [a, b].join('') === c␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!==' check.␊ @@ -240,7 +240,7 @@ Generated by [AVA](https://avajs.dev). `␊ 1 | foo␊ > 2 | !/* comment */[a, b].join('') === c␊ - | ^ Negated expression in not allowed in equality check.␊ + | ^ Negated expression is not allowed in equality check.␊ ␊ --------------------------------------------------------------------------------␊ Suggestion 1/1: Switch to '!==' check.␊ diff --git a/test/snapshots/no-negation-in-equality-check.mjs.snap b/test/snapshots/no-negation-in-equality-check.mjs.snap index 27ceae70074de58e700ec1b4aa250d7c218e0d07..983ecb0b3d87519e2d4095444db4129a7e8b7ef0 100644 GIT binary patch delta 602 zcmV-g0;T=?1^WduK~_N^Q*L2!b7*gLAa*kf0{|p&Gb4AiXwEH1okJhR+I(Olhn6k^ zsrU$l?gNQp%$|`lReuMqk^k|OFq=7Kdfj$kVaM+4b)y4lKq;7} z2|euDzKcixkTU=6X}^ydethe4VZ9JM#kInf;)VuLhnY~L5eN5(Lms-LF$=4HM5``+ zD`;K03;dE zgKR1xo9U1zobmP|$ZEt$KzvoqaT4M00^zT*7%v%Mqz-W=yv;>~{~9mKg%>Rw-h}w3 zu81wpw`Fu-Fn@Nfv(8i9fH&X~Hul`;#@vGw8ThcKUM>1ss5y$n3~T*YCdF2%_{{aCI2x0bHYFu#tXw{N{O@u8Pw^e- zJ*&Q;wyT%Rb0C)NqAj@4Wf#gm$|buYh*>MjV${7>L{fY>6agg*D|2DHTo`0Dwj&rb oWMk?^N@dpsW$OxM3C&i-nKWIxwC4G5lgI)q2*6?om6H+x02sX>K>z>% delta 602 zcmV-g0;T=?1^WduK~_N^Q*L2!b7*gLAa*kf0|3{$%#T+65*h*`fkewVgav+qRKV}R z2P*X0vfO^`{h5(6Re#o~Gwb=jzq3)l40;Z=j{J|OgxSm?)9beT3OjaRuNxge14_X( zP3U3I_FX*khm`qmPy2n$@Z(#T3+sj8DXtZ+6gM=0I?RL`jX1bR9P-c|jagXrBU*Lo zTS4o}WdHy(cn*)qA!eixWIFPQ@7vS`+Xa_0z>Y&Fq#yi9UVo0UW3$&_4T*JB)wH`8 z{AdT`!$ab;;P`s2-hqRO&8#6X3T0%PWq$B{{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