Tibor17 commented on a change in pull request #39: [MRESOLVER-93] -
PathRecordingDependencyVisitor to handle 3 cycles
URL: https://github.com/apache/maven-resolver/pull/39#discussion_r316188058
##########
File path:
maven-resolver-util/src/test/java/org/eclipse/aether/util/graph/visitor/PathRecordingDependencyVisitorTest.java
##########
@@ -141,12 +141,12 @@ public void testGetPaths_HandlesCycles_threePaths()
{
DependencyNode root = parse( "cycle-3paths.txt" );
- PathRecordingDependencyVisitor visitor = new
PathRecordingDependencyVisitor( new ArtifactMatcher(), false );
+ PathRecordingDependencyVisitor visitor = new
PathRecordingDependencyVisitor( new ArtifactMatcher() );
root.accept( visitor );
List<List<DependencyNode>> paths = visitor.getPaths();
- assertEquals( paths.toString(), 4, paths.size() );
- assertPath( paths.get( 0 ), "a", "b", "c");
+ assertEquals( paths.toString(), 1, paths.size() );
Review comment:
@suztomo
You are right, sorry. The diff in Github is giving me a strange view that i
see it as a change. But I compared the test in IDEA and there is a new test
method. Just fine!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services