Skip to content

Commit

Permalink
add newlines at the end of testing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Knoedlseder committed Oct 6, 2024
1 parent 527fefc commit 0a2a58a
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ void test() {
private void assertAll() {
// imposter assertAll, should not be detected
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ void testWithAssertAll() {
() -> assertThat(k instanceof Integer)
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ void testWithAssertAll() {
() -> assertThat(k instanceof Integer)
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ void testWithAssertAll() {
() -> assertThat(k instanceof Integer)
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ void nonParameterized2() {
void paramterized(int i) {
assertThat(i).isInstanceOf(Integer.class);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ void paramterized() {
void paramterized(int i) {
assertThat(i).isInstanceOf(Integer.class);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ void tearDownAfterEach() {
void tearDownAfterAll() {
// teardown after all tests
}
}
}
2 changes: 1 addition & 1 deletion src/test/resources/detectors/swing/JFrameDispose.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public static void main(String[] args) {
frame2.dispose();
frame3.dispose();
}
}
}
2 changes: 1 addition & 1 deletion src/test/resources/detectors/swing/SwingTimer.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public void actionPerformed(ActionEvent actionEvent) {
var timer2 = new Timer(100, new ActionListener() {});
javax.swing.Timer timer3 = new javax.swing.Timer(100, () -> {});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public static void invokeLater() {
public static void invokeAndWait() {

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public static void main(String[] args) {
public static void invokeLater(Runnable runnable) {

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public static void main(String[] args) {
// perfume
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ public static void main(String[] args) {
// perfume
});
}
}
}

0 comments on commit 0a2a58a

Please sign in to comment.