Skip to content

Commit

Permalink
fix patterntree test
Browse files Browse the repository at this point in the history
Signed-off-by: OneSizeFitQuorum <[email protected]>
  • Loading branch information
OneSizeFitsQuorum committed Jun 12, 2024
1 parent de95ccc commit 5717a4b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,13 @@ private void checkPathPatternTree(

Assert.assertEquals(
compressedDevicePaths.stream()
.map(PartialPath::getIDeviceID)
.map(PartialPath::getFullPath)
.sorted()
.collect(Collectors.toList()),
patternTree.getAllDevicePatterns().stream().sorted().collect(Collectors.toList()));
patternTree.getAllDevicePatterns().stream()
.map(Object::toString)
.sorted()
.collect(Collectors.toList()));

Assert.assertEquals(
compressedDevicePaths.stream().sorted().collect(Collectors.toList()),
Expand Down

0 comments on commit 5717a4b

Please sign in to comment.