Skip to content

Commit

Permalink
Add a none empty test case to SemanticallyEqualTest.Generics
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jun 17, 2024
1 parent a49c4d0 commit c8cb0fb
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,19 @@ class T {

@Nested
class Generics {
@Test
void noneEmpty() {
assertExpressionsEqual(
"""
import java.util.List;
class T {
List<String> a = new java.util.ArrayList<String>();
List<String> b = new java.util.ArrayList<String>();
}
"""
);
}

@Test
void firstEmpty() {
assertExpressionsEqual(
Expand Down

0 comments on commit c8cb0fb

Please sign in to comment.