Skip to content

Commit 8dec962

Browse files
authored
Update snapshots (#2485)
1 parent fe4e7bc commit 8dec962

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"fix:eslint-docs": "eslint-doc-generator",
2424
"fix:js": "npm run lint:js -- --fix",
2525
"fix:markdown": "npm run lint:markdown -- --fix",
26+
"fix:snapshots": "ava --update-snapshots",
2627
"integration": "node ./test/integration/test.mjs",
2728
"lint": "run-p --continue-on-error lint:*",
2829
"lint:eslint-docs": "npm run fix:eslint-docs -- --check",

test/snapshots/no-negation-in-equality-check.mjs.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Generated by [AVA](https://avajs.dev).
1616
1717
`␊
1818
> 1 | !foo === bar␊
19-
| ^ Negated expression in not allowed in equality check.␊
19+
| ^ Negated expression is not allowed in equality check.␊
2020
2121
--------------------------------------------------------------------------------␊
2222
Suggestion 1/1: Switch to '!==' check.␊
@@ -35,7 +35,7 @@ Generated by [AVA](https://avajs.dev).
3535
3636
`␊
3737
> 1 | !foo !== bar␊
38-
| ^ Negated expression in not allowed in equality check.␊
38+
| ^ Negated expression is not allowed in equality check.␊
3939
4040
--------------------------------------------------------------------------------␊
4141
Suggestion 1/1: Switch to '===' check.␊
@@ -54,7 +54,7 @@ Generated by [AVA](https://avajs.dev).
5454
5555
`␊
5656
> 1 | !foo == bar␊
57-
| ^ Negated expression in not allowed in equality check.␊
57+
| ^ Negated expression is not allowed in equality check.␊
5858
5959
--------------------------------------------------------------------------------␊
6060
Suggestion 1/1: Switch to '!=' check.␊
@@ -73,7 +73,7 @@ Generated by [AVA](https://avajs.dev).
7373
7474
`␊
7575
> 1 | !foo != bar␊
76-
| ^ Negated expression in not allowed in equality check.␊
76+
| ^ Negated expression is not allowed in equality check.␊
7777
7878
--------------------------------------------------------------------------------␊
7979
Suggestion 1/1: Switch to '==' check.␊
@@ -95,7 +95,7 @@ Generated by [AVA](https://avajs.dev).
9595
`␊
9696
1 | function x() {␊
9797
> 2 | return!foo === bar;␊
98-
| ^ Negated expression in not allowed in equality check.␊
98+
| ^ Negated expression is not allowed in equality check.␊
9999
3 | }␊
100100
101101
--------------------------------------------------------------------------------␊
@@ -123,7 +123,7 @@ Generated by [AVA](https://avajs.dev).
123123
`␊
124124
1 | function x() {␊
125125
> 2 | return!␊
126-
| ^ Negated expression in not allowed in equality check.␊
126+
| ^ Negated expression is not allowed in equality check.␊
127127
3 | foo === bar;␊
128128
4 | throw!␊
129129
5 | foo === bar;␊
@@ -146,7 +146,7 @@ Generated by [AVA](https://avajs.dev).
146146
2 | return!␊
147147
3 | foo === bar;␊
148148
> 4 | throw!␊
149-
| ^ Negated expression in not allowed in equality check.␊
149+
| ^ Negated expression is not allowed in equality check.␊
150150
5 | foo === bar;␊
151151
6 | }␊
152152
@@ -174,7 +174,7 @@ Generated by [AVA](https://avajs.dev).
174174
`␊
175175
1 | foo␊
176176
> 2 | !(a) === b␊
177-
| ^ Negated expression in not allowed in equality check.␊
177+
| ^ Negated expression is not allowed in equality check.␊
178178
179179
--------------------------------------------------------------------------------␊
180180
Suggestion 1/1: Switch to '!==' check.␊
@@ -196,7 +196,7 @@ Generated by [AVA](https://avajs.dev).
196196
`␊
197197
1 | foo␊
198198
> 2 | ![a, b].join('') === c␊
199-
| ^ Negated expression in not allowed in equality check.␊
199+
| ^ Negated expression is not allowed in equality check.␊
200200
201201
--------------------------------------------------------------------------------␊
202202
Suggestion 1/1: Switch to '!==' check.␊
@@ -218,7 +218,7 @@ Generated by [AVA](https://avajs.dev).
218218
`␊
219219
1 | foo␊
220220
> 2 | ! [a, b].join('') === c␊
221-
| ^ Negated expression in not allowed in equality check.␊
221+
| ^ Negated expression is not allowed in equality check.␊
222222
223223
--------------------------------------------------------------------------------␊
224224
Suggestion 1/1: Switch to '!==' check.␊
@@ -240,7 +240,7 @@ Generated by [AVA](https://avajs.dev).
240240
`␊
241241
1 | foo␊
242242
> 2 | !/* comment */[a, b].join('') === c␊
243-
| ^ Negated expression in not allowed in equality check.␊
243+
| ^ Negated expression is not allowed in equality check.␊
244244
245245
--------------------------------------------------------------------------------␊
246246
Suggestion 1/1: Switch to '!==' check.␊
Binary file not shown.

0 commit comments

Comments
 (0)