mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
#4454 Clean up root test directory tests
Combine cases into smaller tests of tests and remove tests we no longer need. Linter tests have been moved to where they should be.
This commit is contained in:
@@ -8,7 +8,7 @@ Execute(ParseVersion should return the version from the lines of output):
|
||||
\ '1.2.3',
|
||||
\])
|
||||
|
||||
Execute(ParseVersion should return an empty list when no vesrion can be found):
|
||||
Execute(ParseVersion should return an empty list when no version can be found):
|
||||
AssertEqual [], ale#semver#ParseVersion(['x'])
|
||||
AssertEqual [], ale#semver#ParseVersion([])
|
||||
|
||||
@@ -17,8 +17,6 @@ Execute(ParseVersion should tolerate missing patch numbers):
|
||||
AssertEqual [3, 4, 0], ale#semver#ParseVersion(['Version 3.4'])
|
||||
|
||||
Execute(GTE should compare triples correctly):
|
||||
Assert ale#semver#GTE([3, 0, 4], [3, 0, 0])
|
||||
Assert ale#semver#GTE([3, 0, 0], [3, 0, 0])
|
||||
Assert ale#semver#GTE([3, 0, 0], [2, 0, 0])
|
||||
Assert ale#semver#GTE([3, 1, 0], [3, 1, 0])
|
||||
Assert ale#semver#GTE([3, 2, 0], [3, 1, 0])
|
||||
|
||||
Reference in New Issue
Block a user