From bb912badbe462901f8fd65371465fec2def078b4 Mon Sep 17 00:00:00 2001 From: maxisr Date: Fri, 1 Mar 2024 13:06:37 +0100 Subject: [PATCH] fix: checkstyle for PushToTeXworksTest (end with newline) and openrewrite #3197 Co-Authored-By: Vlad Dobre <29517124+vladdobre@users.noreply.github.com> Co-Authored-By: Kr1st1an-F <100246316+kr1st1an-f@users.noreply.github.com> --- src/test/java/org/jabref/gui/push/PushToTeXworksTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/jabref/gui/push/PushToTeXworksTest.java b/src/test/java/org/jabref/gui/push/PushToTeXworksTest.java index 74d2fd21b2f..f3078008c02 100644 --- a/src/test/java/org/jabref/gui/push/PushToTeXworksTest.java +++ b/src/test/java/org/jabref/gui/push/PushToTeXworksTest.java @@ -72,7 +72,7 @@ public void setup() { * */ @Test - void testDisplayName() { + void displayName() { // Test whether the display name is correct assertEquals("TeXworks", pushToTeXworks.getDisplayName()); } @@ -85,7 +85,7 @@ void testDisplayName() { * */ @Test - void testGetCommandLine() { + void getCommandLine() { String keyString = "TestKey"; String[] expectedCommand = new String[] {"/usr/bin/texworks", "--insert-text", "TestKey"}; @@ -117,7 +117,7 @@ void pushEntries() { * */ @Test - void testGetTooltip() { + void getTooltip() { assertEquals("Push entries to external application (TeXworks)", pushToTeXworks.getTooltip()); } -} \ No newline at end of file +}