aboutsummaryrefslogtreecommitdiff
path: root/javatests/com/google/turbine/processing/TurbineMessagerTest.java
diff options
context:
space:
mode:
authorLiam Miller-Cushon <cushon@google.com>2021-08-19 17:08:08 -0700
committerJavac Team <javac-team+copybara@google.com>2021-08-19 17:08:45 -0700
commitb02c9b7924e64f8678d8561fb68cc10d2df6ea59 (patch)
treec687bd98b37c22e81c02cd4c2c6e26440153b9f7 /javatests/com/google/turbine/processing/TurbineMessagerTest.java
parent7ee2bdb29f763bdff523affaa3ff30edcd999b70 (diff)
downloadturbine-b02c9b7924e64f8678d8561fb68cc10d2df6ea59.tar.gz
Automatic code cleanup.
PiperOrigin-RevId: 391877940
Diffstat (limited to 'javatests/com/google/turbine/processing/TurbineMessagerTest.java')
-rw-r--r--javatests/com/google/turbine/processing/TurbineMessagerTest.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/javatests/com/google/turbine/processing/TurbineMessagerTest.java b/javatests/com/google/turbine/processing/TurbineMessagerTest.java
index b8e9cfa..c9ca26f 100644
--- a/javatests/com/google/turbine/processing/TurbineMessagerTest.java
+++ b/javatests/com/google/turbine/processing/TurbineMessagerTest.java
@@ -22,6 +22,8 @@ import static java.util.Comparator.comparing;
import static java.util.Objects.requireNonNull;
import static org.junit.Assert.assertThrows;
+import com.google.auto.common.AnnotationMirrors;
+import com.google.auto.common.AnnotationValues;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
@@ -135,7 +137,13 @@ public class TurbineMessagerTest {
processingEnv
.getMessager()
.printMessage(
- Diagnostic.Kind.ERROR, String.format("%s %s %s", e, a, av), e, a, av);
+ Diagnostic.Kind.ERROR,
+ String.format(
+ "%s %s %s",
+ e, AnnotationMirrors.toString(a), AnnotationValues.toString(av)),
+ e,
+ a,
+ av);
av.accept(
new SimpleAnnotationValueVisitor8<Void, Void>() {
@Override