diff options
author | w0rp <devw0rp@gmail.com> | 2016-12-16 10:01:28 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-12-16 10:01:28 +0000 |
commit | 8cb9b2ba4eda0144dcdb2045c5d3036231e8faa3 (patch) | |
tree | 3ab4c59918d84ca44d219b8861e7fc990804841d /test/test_sign_parsing.vader | |
parent | 7e6d5292f7a0aac5331610b60438b9e8ed9d11d6 (diff) | |
download | ale-8cb9b2ba4eda0144dcdb2045c5d3036231e8faa3.zip |
Make sign parsing testable, and add tests for it against various languages.
Diffstat (limited to 'test/test_sign_parsing.vader')
-rw-r--r-- | test/test_sign_parsing.vader | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_sign_parsing.vader b/test/test_sign_parsing.vader new file mode 100644 index 00000000..a61de0d3 --- /dev/null +++ b/test/test_sign_parsing.vader @@ -0,0 +1,8 @@ +Execute (Parsing English signs should work): + AssertEqual [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']) + +Execute (Parsing Japanese signs should work): + AssertEqual [1000001], ale#sign#ParseSigns([' 行=1 識別子=1000001 名前=ALEWarningSign']) |