Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3b616af

Browse files
committed
edit file test
1 parent 9335941 commit 3b616af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ctci/testfirstcommonancestor/FirstCommonAncestorTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void tearDown() throws Exception {
3838
@Test
3939
void testFindFCA() {
4040
//test case
41-
assertEquals(null, ancestor.findFCA(null, root.getLeft().getLeft().getLeft(), root.getRight().getRight()));
41+
assertEquals(root, ancestor.findFCA(root, root.getLeft().getLeft().getLeft(), root.getRight().getRight()));
4242
}
4343

4444
}

0 commit comments

Comments
 (0)