diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 98f3bb2..6b5b7f8 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -8,7 +8,7 @@ public class Main { try { // Instantiate the parser Parser parser = new Parser(filePath); - + // TODO: You can test your code here before you run the unit tests. // Example: Call your sorting methods, iterate through the returned list, // and print out the movies to see if they match the expected results in the Help folder. @@ -26,9 +26,9 @@ public class Main { for (Movie movie : parser.sortByYear()) { System.out.println(movie); } - + System.out.println("Movies parsed successfully! Total movies: " + parser.sortByTitle().size()); - + } catch (IOException e) { System.err.println("Error reading or parsing the HTML file: " + e.getMessage()); }