Skip to content

Commit 152ec24

Browse files
CEL Dev Teamcopybara-github
CEL Dev Team
authored andcommitted
Internal
PiperOrigin-RevId: 759473920
1 parent 928165c commit 152ec24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parser/src/test/java/dev/cel/parser/CelParserParameterizedTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import com.google.protobuf.Descriptors.EnumDescriptor;
3232
import com.google.protobuf.Descriptors.FieldDescriptor;
3333
import com.google.protobuf.Descriptors.OneofDescriptor;
34+
import com.google.protobuf.TextFormat;
3435
import com.google.testing.junit.testparameterinjector.TestParameterInjector;
3536
import dev.cel.common.CelAbstractSyntaxTree;
3637
import dev.cel.common.CelOptions;
@@ -354,7 +355,7 @@ private void runSourceInfoTest(String expression) throws Exception {
354355
CelProtoAbstractSyntaxTree.fromCelAst(ast).toParsedExpr().getSourceInfo();
355356
testOutput().println("I: " + expression);
356357
testOutput().println("=====>");
357-
testOutput().println("S: " + sourceInfo);
358+
testOutput().println("S: " + TextFormat.printer().printToString(sourceInfo));
358359
}
359360

360361
private String convertMacroCallsToString(SourceInfo sourceInfo) {

0 commit comments

Comments
 (0)