Skip to content

Commit 80f2630

Browse files
committed
update test
1 parent b5c05c9 commit 80f2630

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

tests/lib/rules/component-name-in-template-casing.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ tester.run('component-name-in-template-casing', rule, {
12431243
<template>
12441244
<c-button />
12451245
<c-card />
1246-
<c-input />
1246+
<CInput />
12471247
</template>
12481248
`,
12491249
output: `
@@ -1268,13 +1268,6 @@ tester.run('component-name-in-template-casing', rule, {
12681268
column: 11,
12691269
endLine: 4,
12701270
endColumn: 18
1271-
},
1272-
{
1273-
message: 'Component name "c-input" is not PascalCase.',
1274-
line: 5,
1275-
column: 11,
1276-
endLine: 5,
1277-
endColumn: 19
12781271
}
12791272
]
12801273
},
@@ -1283,7 +1276,7 @@ tester.run('component-name-in-template-casing', rule, {
12831276
<template>
12841277
<CButton />
12851278
<CCard />
1286-
<CInput />
1279+
<c-input />
12871280
</template>
12881281
`,
12891282
output: `
@@ -1308,13 +1301,6 @@ tester.run('component-name-in-template-casing', rule, {
13081301
column: 11,
13091302
endLine: 4,
13101303
endColumn: 17
1311-
},
1312-
{
1313-
message: 'Component name "CInput" is not kebab-case.',
1314-
line: 5,
1315-
column: 11,
1316-
endLine: 5,
1317-
endColumn: 18
13181304
}
13191305
]
13201306
},

0 commit comments

Comments
 (0)