We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15874c4 commit acc73e2Copy full SHA for acc73e2
osv/ecosystems/alpine_test.py
@@ -74,6 +74,12 @@ def test_apk(self):
74
ecosystem.sort_key('13.0.14.5-r1'), ecosystem.sort_key('7.64.3-r2'))
75
self.assertLess(
76
ecosystem.sort_key('13.0.14.5-r1'), ecosystem.sort_key('16.6-r0'))
77
+
78
+ # Double check >= / <= methods: https://github.com/google/osv.dev/pull/3978
79
+ self.assertGreaterEqual(
80
+ ecosystem.sort_key('1.10.0-r0'), ecosystem.sort_key('1.2.0-r0'))
81
+ self.assertLessEqual(
82
+ ecosystem.sort_key('1.2.0-r0'), ecosystem.sort_key('1.10.0-r0'))
83
84
def test_apk_ecosystems(self):
85
"""Test apk-based ecosystems return an APK ecosystem."""
0 commit comments