Skip to content

Commit

Permalink
Add tests for code that failed in plume-lib or daikon (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl authored Oct 17, 2023
1 parent 8c6df28 commit 813e404
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions checker/tests/signedness/UnsignedConcat.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,17 @@ void test2(String s, char c, Character charObj) {
s += c;
s += charObj;
}

void test3() {
String a = "World";
String s = "Hi " + (int) a.charAt(0);
}

void test4(String s) {
Class<? extends String> sc = null;
if (s != null) {
sc = s.getClass();
}
System.out.println("In: " + sc);
}
}

0 comments on commit 813e404

Please sign in to comment.