diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheckTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheckTest.java index 62b06be3bbe..c774fe5069b 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheckTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheckTest.java @@ -33,13 +33,13 @@ void identification() { " // BUG: Diagnostic contains: No source code provided", " .addSourceLines(\"A.java\")", " // BUG: Diagnostic contains: Source code is malformed:", - " .addSourceLines(\"A.java\", \"class A {\")", + " .addSourceLines(\"B.java\", \"class B {\")", " // Well-formed code, so not flagged.", - " .addSourceLines(\"A.java\", \"class A {}\")", + " .addSourceLines(\"C.java\", \"class C {}\")", " // Malformed code, but not compile-time constant, so not flagged.", - " .addSourceLines(\"A.java\", \"class A {\" + getClass())", + " .addSourceLines(\"D.java\", \"class D {\" + getClass())", " // BUG: Diagnostic contains: Test code should follow the Google Java style", - " .addSourceLines(\"A.java\", \"class A { }\")", + " .addSourceLines(\"E.java\", \"class E { }\")", " .doTest();", "", " refactoringTestHelper",