2016-12-16 05:01:28 -05:00
|
|
|
Execute (Parsing English signs should work):
|
2017-03-14 19:04:25 -04:00
|
|
|
AssertEqual
|
2017-08-26 11:38:27 -04:00
|
|
|
\ [0, [[9, 1000001, 'ALEWarningSign']]],
|
2017-03-14 19:04:25 -04:00
|
|
|
\ ale#sign#ParseSigns([
|
|
|
|
\ 'Signs for app.js:',
|
|
|
|
\ ' line=9 id=1000001 name=ALEWarningSign',
|
|
|
|
\ ])
|
2016-12-16 05:01:28 -05:00
|
|
|
|
|
|
|
Execute (Parsing Russian signs should work):
|
2017-03-14 19:04:25 -04:00
|
|
|
AssertEqual
|
2017-08-26 11:38:27 -04:00
|
|
|
\ [0, [[1, 1000001, 'ALEErrorSign']]],
|
2017-03-14 19:04:25 -04:00
|
|
|
\ ale#sign#ParseSigns([' строка=1 id=1000001 имя=ALEErrorSign'])
|
2016-12-16 05:01:28 -05:00
|
|
|
|
|
|
|
Execute (Parsing Japanese signs should work):
|
2017-03-14 19:04:25 -04:00
|
|
|
AssertEqual
|
2017-08-26 11:38:27 -04:00
|
|
|
\ [0, [[1, 1000001, 'ALEWarningSign']]],
|
2017-03-14 19:04:25 -04:00
|
|
|
\ ale#sign#ParseSigns([' 行=1 識別子=1000001 名前=ALEWarningSign'])
|
2017-01-22 08:40:23 -05:00
|
|
|
|
|
|
|
Execute (Parsing Spanish signs should work):
|
2017-03-14 19:04:25 -04:00
|
|
|
AssertEqual
|
2017-08-26 11:38:27 -04:00
|
|
|
\ [0, [[12, 1000001, 'ALEWarningSign']]],
|
2017-03-14 19:04:25 -04:00
|
|
|
\ ale#sign#ParseSigns([' línea=12 id=1000001 nombre=ALEWarningSign'])
|
2017-03-10 08:21:08 -05:00
|
|
|
|
|
|
|
Execute (Parsing Italian signs should work):
|
2017-03-14 19:04:25 -04:00
|
|
|
AssertEqual
|
2017-08-26 11:38:27 -04:00
|
|
|
\ [0, [[1, 1000001, 'ALEWarningSign']]],
|
2017-03-14 19:04:25 -04:00
|
|
|
\ ale#sign#ParseSigns([' riga=1 id=1000001, nome=ALEWarningSign'])
|
2017-08-26 11:38:27 -04:00
|
|
|
\
|
|
|
|
Execute (The sign parser should indicate if the dummy sign is set):
|
|
|
|
AssertEqual
|
|
|
|
\ [1, [[1, 1000001, 'ALEErrorSign']]],
|
|
|
|
\ ale#sign#ParseSigns([
|
|
|
|
\ ' строка=1 id=1000001 имя=ALEErrorSign',
|
|
|
|
\ ' line=1 id=1000000 name=ALEDummySign',
|
|
|
|
\ ])
|