Skip to content

Commit

Permalink
fix tester
Browse files Browse the repository at this point in the history
  • Loading branch information
kn1cht committed Feb 9, 2024
1 parent ccb78e7 commit 9e2f1e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/use-si-units-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
const TextLintTester = require('textlint-tester');
import TextLintTester from "textlint-tester";
const tester = new TextLintTester();
// rule
const rule = require('../src/use-si-units');
Expand Down Expand Up @@ -75,3 +75,11 @@ tester.run('use-si-units with options',
}
]
});


tester.run('the words end with number', rule, {
valid: [
'我ら5人合わせて四天王!',
'The 5 of us together are the Four Heavenly Kings!'
],
});

0 comments on commit 9e2f1e1

Please sign in to comment.