summaryrefslogtreecommitdiff
path: root/test/sign/test_sign_parsing.vader
blob: ee112a1b054af065bbc9340f22ce7dc81ae478c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Execute (Parsing English signs should work):
  AssertEqual
  \ [[9, 1000001, 'ALEWarningSign']],
  \ ale#sign#ParseSigns([
  \   'Signs for app.js:',
  \   '    line=9  id=1000001  name=ALEWarningSign',
  \ ])

Execute (Parsing Russian signs should work):
  AssertEqual
  \ [[1, 1000001, 'ALEErrorSign']],
  \ ale#sign#ParseSigns(['    строка=1  id=1000001  имя=ALEErrorSign'])

Execute (Parsing Japanese signs should work):
  AssertEqual
  \ [[1, 1000001, 'ALEWarningSign']],
  \ ale#sign#ParseSigns(['    行=1  識別子=1000001  名前=ALEWarningSign'])

Execute (Parsing Spanish signs should work):
  AssertEqual
  \ [[12, 1000001, 'ALEWarningSign']],
  \ ale#sign#ParseSigns(['    línea=12 id=1000001 nombre=ALEWarningSign'])

Execute (Parsing Italian signs should work):
  AssertEqual
  \ [[1, 1000001, 'ALEWarningSign']],
  \ ale#sign#ParseSigns(['    riga=1 id=1000001, nome=ALEWarningSign'])