First pass converting qlref tests to inline expectation with postprocess

This commit is contained in:
Owen Mansel-Chan
2026-06-10 07:46:42 +02:00
parent 8d456df26f
commit 1c1d26453d
420 changed files with 2846 additions and 2598 deletions

View File

@@ -35,7 +35,7 @@ public class MapTest {
}
// should be flagged
private Map<String, Integer> useless = new HashMap<String, Integer>();
private Map<String, Integer> useless = new HashMap<String, Integer>(); // $ Alert
{
useless.put("hello", 23);
useless.remove("hello");
@@ -49,4 +49,4 @@ public class MapTest {
@interface MyReflectionAnnotation {}
@MyReflectionAnnotation
private Map<String, Integer> l8 = new HashMap<String, Integer>();
}
}