From 200f7c43470eef15873024ac0df3792033a802c4 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Fri, 23 Jun 2017 15:56:54 -0300 Subject: [PATCH] Fix indent --- test/tokenize.test.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/tokenize.test.js b/test/tokenize.test.js index 96d896c..cca2d54 100644 --- a/test/tokenize.test.js +++ b/test/tokenize.test.js @@ -16,13 +16,17 @@ function run(css, tokens) { } it('tokenizes inline comments', () => { - run('// a\n', [ ['comment', '// a', 1, 1, 1, 4, 'inline'], - ['space', '\n'] ]); + run('// a\n', [ + ['comment', '// a', 1, 1, 1, 4, 'inline'], + ['space', '\n'] + ]); }); it('tokenizes inline comments with any new line', () => { - run('// a\r\n', [ ['comment', '// a', 1, 1, 1, 4, 'inline'], - ['space', '\r\n'] ]); + run('// a\r\n', [ + ['comment', '// a', 1, 1, 1, 4, 'inline'], + ['space', '\r\n'] + ]); }); it('tokenizes inline comments in end of file', () => { @@ -38,6 +42,8 @@ it('tokenizes recursively interpolations', () => { }); it('tokenizes multiline url()', () => { - run('url(a\nb)', [ ['word', 'url', 1, 1, 1, 3], - ['brackets', '(a\nb)', 1, 4, 2, 2] ]); + run('url(a\nb)', [ + ['word', 'url', 1, 1, 1, 3], + ['brackets', '(a\nb)', 1, 4, 2, 2] + ]); });