Skip to content

Commit

Permalink
fix: checkstyle for PushToTeXworksTest (end with newline) and openrew…
Browse files Browse the repository at this point in the history
…rite JabRef#3197

Co-Authored-By: Vlad Dobre <29517124+vladdobre@users.noreply.github.com>
Co-Authored-By: Kr1st1an-F <100246316+kr1st1an-f@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 1, 2024
1 parent 37f3bc7 commit bb912ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/org/jabref/gui/push/PushToTeXworksTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void setup() {
*
*/
@Test
void testDisplayName() {
void displayName() {
// Test whether the display name is correct
assertEquals("TeXworks", pushToTeXworks.getDisplayName());
}
Expand All @@ -85,7 +85,7 @@ void testDisplayName() {
*
*/
@Test
void testGetCommandLine() {
void getCommandLine() {
String keyString = "TestKey";
String[] expectedCommand = new String[] {"/usr/bin/texworks", "--insert-text", "TestKey"};

Expand Down Expand Up @@ -117,7 +117,7 @@ void pushEntries() {
*
*/
@Test
void testGetTooltip() {
void getTooltip() {
assertEquals("Push entries to external application (TeXworks)", pushToTeXworks.getTooltip());
}
}
}

0 comments on commit bb912ba

Please sign in to comment.