summaryrefslogtreecommitdiff
path: root/test/handler/test_dartanalyzer_handler.vader
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2022-01-05 22:34:47 +0900
committerGitHub <noreply@github.com>2022-01-05 22:34:47 +0900
commit76bd0593713004ae38d738874e9e0575aefc88dd (patch)
treec7575354a13d15438b65f7e4768f8ffd058699d4 /test/handler/test_dartanalyzer_handler.vader
parent5a5029b73d9cfb277ba84c29c2f787b88469ab0f (diff)
downloadale-76bd0593713004ae38d738874e9e0575aefc88dd.zip
Fix 3838 - deprecate datanalyzer (#3839)
Co-authored-by: Horacio Sanson <horacio@allm.inc>
Diffstat (limited to 'test/handler/test_dartanalyzer_handler.vader')
-rw-r--r--test/handler/test_dartanalyzer_handler.vader28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/handler/test_dartanalyzer_handler.vader b/test/handler/test_dartanalyzer_handler.vader
deleted file mode 100644
index 954850c5..00000000
--- a/test/handler/test_dartanalyzer_handler.vader
+++ /dev/null
@@ -1,28 +0,0 @@
-Before:
- runtime ale_linters/dart/dartanalyzer.vim
-
-After:
- call ale#linter#Reset()
-
-Execute(Basic problems should be parsed correctly):
- AssertEqual
- \ [
- \ {
- \ 'type': 'E',
- \ 'text': 'expected_token: Expected to find ''}''',
- \ 'lnum': 5,
- \ 'col': 1,
- \ },
- \ {
- \ 'type': 'W',
- \ 'text': 'invalid_assignment: A value of type ''String'' can''t be assigned to a variable of type ''int''',
- \ 'lnum': 2,
- \ 'col': 16,
- \ },
- \ ],
- \ ale_linters#dart#dartanalyzer#Handle(bufnr(''), [
- \ 'Analyzing main.dart...',
- \ ' error • Expected to find ''}'' at main.dart:5:1 • expected_token',
- \ ' warning • A value of type ''String'' can''t be assigned to a variable of type ''int'' at main.dart:2:16 • invalid_assignment',
- \ '1 error and 1 warning found.',
- \ ])