mirror of
https://github.com/nextcloud/server.git
synced 2026-03-01 04:50:40 -05:00
Add negative version comparison test for version suffixes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
3a9c7f99f6
commit
7d9dceb1af
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ class CompareVersionTest extends TestCase {
|
|||
['7.4.14', '7.4', '<=', true],
|
||||
['7.4.14-ubuntu', '7.4', '<=', true],
|
||||
['7.4.14-ubuntu', '7.4.15', '<=', true],
|
||||
['7.4.16-ubuntu', '7.4.15', '<=', false],
|
||||
// Incompatible major versions
|
||||
['13.0.0.3', '13.0.0', '<', false],
|
||||
['12.0.0', '13.0.0', '>=', false],
|
||||
|
|
|
|||
Loading…
Reference in a new issue