1
0
Fork 0
mirror of synced 2024-11-16 05:55:35 -05:00
ultimate-vim/sources_non_forked/ale/test/test_ale_has.vader
2022-05-19 21:16:38 +08:00

13 lines
501 B
Text

Execute(Checks for versions below the current version should succeed):
AssertEqual 1, ale#Has('ale-3.2.0')
AssertEqual 1, ale#Has('ale-3.1.0')
AssertEqual 1, ale#Has('ale-3.0.0')
AssertEqual 1, ale#Has('ale-2.7.0')
AssertEqual 1, ale#Has('ale-2.6.0')
AssertEqual 1, ale#Has('ale-2.5.0')
AssertEqual 1, ale#Has('ale-2.4.0')
AssertEqual 1, ale#Has('ALE-2.2.1')
AssertEqual 1, ale#Has('ALE-1.0.0')
Execute(Checks for newer versions should fail):
AssertEqual 0, ale#Has('ALE-20.0.0')