Skip to content

Commit bfb5fa7

Browse files
committed
Chore: remove output:null from tests
This feature is supported since v3.17.0. eslint/eslint@18a519f
1 parent 05817dc commit bfb5fa7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/lib/rules/no-useless-rest-spread.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,32 +120,32 @@ ruleTester.run("no-useless-rest-spread", rule, {
120120
// Don't auto-fix if the inner array has holes.
121121
{
122122
code: "let list = [a, ...[,]]",
123-
output: null,
123+
output: "let list = [a, ...[,]]",
124124
errors: ["Redundant spread element."],
125125
},
126126
{
127127
code: "let list = [a, ...[b,,c]]",
128-
output: null,
128+
output: "let list = [a, ...[b,,c]]",
129129
errors: ["Redundant spread element."],
130130
},
131131
{
132132
code: "foo(a, ...[,])",
133-
output: null,
133+
output: "foo(a, ...[,])",
134134
errors: ["Redundant spread element."],
135135
},
136136
{
137137
code: "let [a, ...[,]] = list",
138-
output: null,
138+
output: "let [a, ...[,]] = list",
139139
errors: ["Redundant rest element."],
140140
},
141141
{
142142
code: "let [a, ...[,]] = list",
143-
output: null,
143+
output: "let [a, ...[,]] = list",
144144
errors: ["Redundant rest element."],
145145
},
146146
{
147147
code: "function foo(a, ...[,]) {}",
148-
output: null,
148+
output: "function foo(a, ...[,]) {}",
149149
errors: ["Redundant rest parameter."],
150150
},
151151
],

0 commit comments

Comments
 (0)