summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-07 09:29:53 +0100
committerw0rp <devw0rp@gmail.com>2017-06-07 09:29:53 +0100
commitedddb1910ba69ccfda938d81b7307bc1656128c8 (patch)
tree5b17080a9f6aebfd2479c387c4039f1f7b0f35c2
parent8f9828e5bf6c98c9e15597edaab834949956c34e (diff)
downloadale-edddb1910ba69ccfda938d81b7307bc1656128c8.zip
Fix the stylelint tests to match the changes to the handler
-rw-r--r--test/handler/test_stylelint_handler.vader4
1 files changed, 3 insertions, 1 deletions
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',
\ ])