mirror of
https://github.com/dense-analysis/ale
synced 2024-12-22 22:23:43 +00:00
28 lines
912 B
Plaintext
28 lines
912 B
Plaintext
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'])
|