Skip to content

Commit

Permalink
Fix a syntactical error in example code.
Browse files Browse the repository at this point in the history
The opening parathesis in the call to `compile` is never closed.

RELNOTES=n/a
PiperOrigin-RevId: 667625884
  • Loading branch information
nanaze authored and Compile-Testing Team committed Aug 26, 2024
1 parent 4337655 commit 5d8ca78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/google/testing/compile/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* Compilation compilation =
* javac()
* .withProcessors(new MyAnnotationProcessor())
* .compile(JavaFileObjects.forSourceString("HelloWorld", "final class HelloWorld {}");
* .compile(JavaFileObjects.forSourceString("HelloWorld", "final class HelloWorld {}"));
* assertThat(compilation).succeededWithoutWarnings();
* </pre>
*
Expand Down

0 comments on commit 5d8ca78

Please sign in to comment.