@@ -431,7 +431,7 @@ public void EqualToSemverMatcher() throws IOException {
431431 assertTrue (parsedCondition .label ().equals ("equal to semver" ));
432432 for (AttributeMatcher matcher : parsedCondition .matcher ().attributeMatchers ()) {
433433 // Check the matcher is ALL_KEYS
434- assertTrue (matcher .matcher ().toString ().equals (" == semver 1\\ .22\\ .9" ));
434+ assertTrue (matcher .matcher ().toString ().equals (" == semver 1.22.9" ));
435435 return ;
436436 }
437437 }
@@ -453,7 +453,7 @@ public void GreaterThanOrEqualSemverMatcher() throws IOException {
453453 assertTrue (parsedCondition .label ().equals ("greater than or equal to semver" ));
454454 for (AttributeMatcher matcher : parsedCondition .matcher ().attributeMatchers ()) {
455455 // Check the matcher is ALL_KEYS
456- assertTrue (matcher .matcher ().toString ().equals (" >= semver 1\\ .22\\ .9" ));
456+ assertTrue (matcher .matcher ().toString ().equals (" >= semver 1.22.9" ));
457457 return ;
458458 }
459459 }
@@ -475,7 +475,7 @@ public void LessThanOrEqualSemverMatcher() throws IOException {
475475 assertTrue (parsedCondition .label ().equals ("less than or equal to semver" ));
476476 for (AttributeMatcher matcher : parsedCondition .matcher ().attributeMatchers ()) {
477477 // Check the matcher is ALL_KEYS
478- assertTrue (matcher .matcher ().toString ().equals (" <= semver 1\\ .22\\ .9" ));
478+ assertTrue (matcher .matcher ().toString ().equals (" <= semver 1.22.9" ));
479479 return ;
480480 }
481481 }
@@ -497,7 +497,7 @@ public void BetweenSemverMatcher() throws IOException {
497497 assertTrue (parsedCondition .label ().equals ("between semver" ));
498498 for (AttributeMatcher matcher : parsedCondition .matcher ().attributeMatchers ()) {
499499 // Check the matcher is ALL_KEYS
500- assertTrue (matcher .matcher ().toString ().equals (" between semver 1\\ .22\\ .9 and 2\\ .1 \\ .0" ));
500+ assertTrue (matcher .matcher ().toString ().equals (" between semver 1.22.9 and 2.1 .0" ));
501501 return ;
502502 }
503503 }
0 commit comments