Skip to content

Commit bb73f0a

Browse files
Add missing newline at end of TopologicalSort class
1 parent 11ba0e3 commit bb73f0a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/com/thealgorithms/graph/TopologicalSort.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ public static List<Integer> sort(Graph g) {
120120
return ans;
121121
}
122122
}
123+

src/test/java/com/thealgorithms/graph/TopologicalSortTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,4 @@ void testCycleDetection() {
335335
assertEquals("cycle detected in graph", exception.getMessage());
336336
}
337337
}
338+

0 commit comments

Comments
 (0)