Skip to content

Commit

Permalink
feat: modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
VicSolWang committed Nov 19, 2023
1 parent 5c7d1c2 commit ee00523
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/example/vue.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<template>
<div />
<div />
</template>
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('Test the validity of the custom rule.', async (t) => {
const flatESLint2 = new FlatESLint();
const [result2 = {}] =
(await flatESLint2.lintFiles('test/example/vue.vue')) || [];
t.is(result2.warningCount, 2);
t.is(result2.warningCount, 0);
t.is(result2.errorCount, 0);
} else {
t.true(true);
Expand Down

0 comments on commit ee00523

Please sign in to comment.