diff --git a/test/use-si-units-test.js b/test/use-si-units-test.js index d286b57..117b245 100644 --- a/test/use-si-units-test.js +++ b/test/use-si-units-test.js @@ -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'); @@ -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!' + ], +});