summaryrefslogtreecommitdiff
path: root/test/sign
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-11 20:33:29 +0000
committerw0rp <devw0rp@gmail.com>2017-03-11 20:33:29 +0000
commit4bf6784d7d1b62c908015117ab30ea19e540636b (patch)
tree99291a2d76385fa2ef195d7d28d0530fc1cd11d6 /test/sign
parentca78e4c150645ac2a257777d785f710351e93af1 (diff)
downloadale-4bf6784d7d1b62c908015117ab30ea19e540636b.zip
#333 Save sign IDs back on loclist items, and make it possible to get line numbers again
Diffstat (limited to 'test/sign')
-rw-r--r--test/sign/test_sign_parsing.vader10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/sign/test_sign_parsing.vader b/test/sign/test_sign_parsing.vader
index a0ed26e4..916fb570 100644
--- a/test/sign/test_sign_parsing.vader
+++ b/test/sign/test_sign_parsing.vader
@@ -1,14 +1,14 @@
Execute (Parsing English signs should work):
- AssertEqual [1000001], ale#sign#ParseSigns(['Signs for app.js:', ' line=9 id=1000001 name=ALEWarningSign'])
+ AssertEqual [[9, 1000001]], ale#sign#ParseSigns(['Signs for app.js:', ' line=9 id=1000001 name=ALEWarningSign'])
Execute (Parsing Russian signs should work):
- AssertEqual [1000001], ale#sign#ParseSigns([' строка=1 id=1000001 имя=ALEErrorSign'])
+ AssertEqual [[1, 1000001]], ale#sign#ParseSigns([' строка=1 id=1000001 имя=ALEErrorSign'])
Execute (Parsing Japanese signs should work):
- AssertEqual [1000001], ale#sign#ParseSigns([' 行=1 識別子=1000001 名前=ALEWarningSign'])
+ AssertEqual [[1, 1000001]], ale#sign#ParseSigns([' 行=1 識別子=1000001 名前=ALEWarningSign'])
Execute (Parsing Spanish signs should work):
- AssertEqual [1000001], ale#sign#ParseSigns([' línea=12 id=1000001 nombre=ALEWarningSign'])
+ AssertEqual [[12, 1000001]], ale#sign#ParseSigns([' línea=12 id=1000001 nombre=ALEWarningSign'])
Execute (Parsing Italian signs should work):
- AssertEqual [1000001], ale#sign#ParseSigns([' riga=1 id=1000001, nome=ALEWarningSign'])
+ AssertEqual [[1, 1000001]], ale#sign#ParseSigns([' riga=1 id=1000001, nome=ALEWarningSign'])