diff options
author | wolframhaussig <13997737+wolframhaussig@users.noreply.github.com> | 2021-06-13 11:30:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 12:30:07 +0300 |
commit | a6bcc3bb33f7aee51ae8d6108f4cd28cf468054f (patch) | |
tree | b6adb275cb947f32cf294cd1466a6536f1343121 /pf4j/src/test | |
parent | dac4edb5f3fbfd5e5aae81ae4eb3c4dad2e7f732 (diff) | |
download | pf4j-a6bcc3bb33f7aee51ae8d6108f4cd28cf468054f.tar.gz pf4j-a6bcc3bb33f7aee51ae8d6108f4cd28cf468054f.zip |
Fixed Dependency version check fails even if required is * (#451)
Diffstat (limited to 'pf4j/src/test')
-rw-r--r-- | pf4j/src/test/java/org/pf4j/DefaultVersionManagerTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pf4j/src/test/java/org/pf4j/DefaultVersionManagerTest.java b/pf4j/src/test/java/org/pf4j/DefaultVersionManagerTest.java index 3a277db..a7a007e 100644 --- a/pf4j/src/test/java/org/pf4j/DefaultVersionManagerTest.java +++ b/pf4j/src/test/java/org/pf4j/DefaultVersionManagerTest.java @@ -39,6 +39,7 @@ public class DefaultVersionManagerTest { public void checkVersionConstraint() { assertFalse(versionManager.checkVersionConstraint("1.4.3", ">2.0.0")); // simple assertTrue(versionManager.checkVersionConstraint("1.4.3", ">=1.4.0 & <1.6.0")); // range + assertTrue(versionManager.checkVersionConstraint("undefined", "*")); } @Test |