Skip to content

Commit 867a6bf

Browse files
committed
test: update
1 parent 41fc721 commit 867a6bf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/lib/rules/no-empty-component-block.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ tester.run('no-empty-component-block', rule, {
169169
]
170170
},
171171
{
172-
code: '<template></template> <script></script> <style></style>',
173-
output: ' ',
172+
code: '<template></template><script></script><style></style>',
173+
output: '',
174174
options: [{ autofix: true }],
175175
errors: [
176176
{
@@ -185,8 +185,8 @@ tester.run('no-empty-component-block', rule, {
185185
]
186186
},
187187
{
188-
code: '<template /> <script /> <style />',
189-
output: ' ',
188+
code: '<template /><script /><style />',
189+
output: '',
190190
options: [{ autofix: true }],
191191
errors: [
192192
{
@@ -201,8 +201,8 @@ tester.run('no-empty-component-block', rule, {
201201
]
202202
},
203203
{
204-
code: '<template src="" /> <script src="" /> <style src="" />',
205-
output: ' ',
204+
code: '<template src="" /><script src="" /><style src="" />',
205+
output: '',
206206
options: [{ autofix: true }],
207207
errors: [
208208
{
@@ -217,8 +217,8 @@ tester.run('no-empty-component-block', rule, {
217217
]
218218
},
219219
{
220-
code: '<template><p></p></template> <script src="" /> <style src="" />',
221-
output: '<template><p></p></template> ',
220+
code: '<template><p></p></template><script src="" /><style src="" />',
221+
output: '<template><p></p></template>',
222222
options: [{ autofix: true }],
223223
errors: [
224224
{

0 commit comments

Comments
 (0)