summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvin Chan <aschan@gmail.com>2018-12-31 14:59:50 -0700
committerAlvin Chan <aschan@gmail.com>2018-12-31 14:59:50 -0700
commit5792bd6e29eb21d129df6f26b08ae60be217be60 (patch)
tree34b6a215332a8a953d4c0623092371f52d00bcb2
parentf534db1ef944e4af102cfb810eab23460cd4ffdc (diff)
downloadale-5792bd6e29eb21d129df6f26b08ae60be217be60.zip
Update FindReferences tests
-rw-r--r--test/test_find_references.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_find_references.vader b/test/test_find_references.vader
index 88b2d762..14b5e37b 100644
--- a/test/test_find_references.vader
+++ b/test/test_find_references.vader
@@ -135,9 +135,9 @@ Execute(Results should be shown for tsserver responses):
AssertEqual
\ [
- \ {'filename': '/foo/bar/app.ts', 'column': 9, 'line': 9},
- \ {'filename': '/foo/bar/app.ts', 'column': 3, 'line': 804},
- \ {'filename': '/foo/bar/other/app.ts', 'column': 3, 'line': 51},
+ \ {'filename': '/foo/bar/app.ts', 'column': 9, 'line': 9, 'match': 'import {doSomething} from ''./whatever'''},
+ \ {'filename': '/foo/bar/app.ts', 'column': 3, 'line': 804, 'match': 'doSomething()'},
+ \ {'filename': '/foo/bar/other/app.ts', 'column': 3, 'line': 51, 'match': 'doSomething()'},
\ ],
\ g:item_list
AssertEqual {}, ale#references#GetMap()