diff options
Diffstat (limited to 'node_modules/typographic-single-spaces/test.js')
| -rw-r--r-- | node_modules/typographic-single-spaces/test.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/typographic-single-spaces/test.js b/node_modules/typographic-single-spaces/test.js deleted file mode 100644 index c36281d..0000000 --- a/node_modules/typographic-single-spaces/test.js +++ /dev/null @@ -1,15 +0,0 @@ -import singleSpaces from './index'; -import { equal } from 'assert'; - -it('should fix double spaces', ()=> { - equal(singleSpaces(`foo bar`), `foo bar`); -}); - -it('should fix double spaces after punctuation', ()=> { - equal(singleSpaces(`foo. Bar`), `foo. Bar`); - equal(singleSpaces(`foo, bar`), `foo, bar`); -}); - -it('should fix multiply spaces', ()=> { - equal(singleSpaces(`foo bar`), `foo bar`); -}); |