File tree 1 file changed +2
-1
lines changed
parser/src/test/java/dev/cel/parser
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 31
31
import com .google .protobuf .Descriptors .EnumDescriptor ;
32
32
import com .google .protobuf .Descriptors .FieldDescriptor ;
33
33
import com .google .protobuf .Descriptors .OneofDescriptor ;
34
+ import com .google .protobuf .TextFormat ;
34
35
import com .google .testing .junit .testparameterinjector .TestParameterInjector ;
35
36
import dev .cel .common .CelAbstractSyntaxTree ;
36
37
import dev .cel .common .CelOptions ;
@@ -354,7 +355,7 @@ private void runSourceInfoTest(String expression) throws Exception {
354
355
CelProtoAbstractSyntaxTree .fromCelAst (ast ).toParsedExpr ().getSourceInfo ();
355
356
testOutput ().println ("I: " + expression );
356
357
testOutput ().println ("=====>" );
357
- testOutput ().println ("S: " + sourceInfo );
358
+ testOutput ().println ("S: " + TextFormat . printer (). printToString ( sourceInfo ) );
358
359
}
359
360
360
361
private String convertMacroCallsToString (SourceInfo sourceInfo ) {
You can’t perform that action at this time.
0 commit comments