Skip to content
Snippets Groups Projects
Unverified Commit 7d9dceb1 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Add negative version comparison test for version suffixes

parent 3a9c7f99
No related branches found
No related tags found
No related merge requests found
......@@ -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],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment