summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-16 10:37:36 +0100
committerw0rp <devw0rp@gmail.com>2017-08-16 10:37:36 +0100
commit342e83db60dd929cbef1d00e1864e607760ca9bb (patch)
tree11f64fb97f28a29daf3aa79842d40640885ec522 /test
parent17a76a74035488112eb6df92c2a11cb0f177fec9 (diff)
downloadale-342e83db60dd929cbef1d00e1864e607760ca9bb.zip
Include the ruleName for errors in tslint problems
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_tslint_handler.vader5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/handler/test_tslint_handler.vader b/test/handler/test_tslint_handler.vader
index 704123dd..a27657eb 100644
--- a/test/handler/test_tslint_handler.vader
+++ b/test/handler/test_tslint_handler.vader
@@ -17,7 +17,7 @@ Execute(The tslint handler should parse lines correctly):
\ 'col': 15,
\ 'end_lnum': 1,
\ 'end_col': 15,
- \ 'text': 'Missing semicolon',
+ \ 'text': 'semicolon: Missing semicolon',
\ 'type': 'E',
\ },
\ {
@@ -33,7 +33,7 @@ Execute(The tslint handler should parse lines correctly):
\ 'col': 9,
\ 'end_lnum': 31,
\ 'end_col': 20,
- \ 'text': 'Calls to console.log are not allowed.',
+ \ 'text': 'no-console: Calls to console.log are not allowed.',
\ 'type': 'E',
\ },
\ ],
@@ -72,7 +72,6 @@ Execute(The tslint handler should parse lines correctly):
\ 'innerText': ';'
\ },
\ 'name': 'app/test.ts',
- \ 'ruleName': 'something',
\ 'ruleSeverity': 'WARNING',
\ 'startPosition': {
\ 'character': 7,