Skip to content

Commit f6b4131

Browse files
committed
refactor:removed unecessary debugging statements and whitespace stripping.
1 parent 756efcf commit f6b4131

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

jabgui/src/test/java/org/jabref/gui/preview/ClipboardContentGeneratorTest.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,7 @@ void processMarkdownAsMarkdown() {
153153

154154
ClipboardContent markdown = ClipboardContentGenerator.processMarkdown(Arrays.asList(citation, citation));
155155
String actual = markdown.getString();
156-
157-
// Print actual output for debugging
158-
System.out.println("=== Actual Markdown Output ===");
159-
System.out.println(actual);
160-
System.out.println("=== End ===");
161-
162-
// Normalize both strings to ignore whitespace and formatting issues
163-
String normalizedActual = actual.replaceAll("\\s+", " ").trim();
164-
String normalizedExpected = expected.replaceAll("\\s+", " ").trim();
165-
166-
assertEquals(normalizedExpected, normalizedActual);
156+
assertEquals(expected, actual);
167157
}
168158
}
169159

0 commit comments

Comments
 (0)