From edddb1910ba69ccfda938d81b7307bc1656128c8 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 7 Jun 2017 09:29:53 +0100 Subject: [PATCH] Fix the stylelint tests to match the changes to the handler --- test/handler/test_stylelint_handler.vader | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/handler/test_stylelint_handler.vader b/test/handler/test_stylelint_handler.vader index da2df534..895a46e5 100644 --- a/test/handler/test_stylelint_handler.vader +++ b/test/handler/test_stylelint_handler.vader @@ -1,4 +1,6 @@ Execute (stylelint errors should be handled correctly): + " Stylelint includes trailing spaces for output. This needs to be taken into + " account for parsing errors. AssertEqual \ [ \ { @@ -16,6 +18,6 @@ Execute (stylelint errors should be handled correctly): \ ], \ ale#handlers#css#HandleStyleLintFormat(42, [ \ 'src/main.css', - \ ' 108:10 ✖ Unexpected leading zero number-leading-zero', + \ ' 108:10 ✖ Unexpected leading zero number-leading-zero ', \ ' 116:20 ✖ Expected a trailing semicolon declaration-block-trailing-semicolon', \ ])