File tree Expand file tree Collapse file tree
bundle/src/test/java/dev/cel/bundle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ java_library(
2424 "//common/resources/testdata/proto3:standalone_global_enum_java_proto" ,
2525 "//common/testing" ,
2626 "//common/types" ,
27+ "//common/types:cel_proto_message_types" ,
2728 "//common/types:cel_proto_types" ,
2829 "//common/types:message_type_provider" ,
2930 "//common/types:type_providers" ,
Original file line number Diff line number Diff line change 7272import dev .cel .common .ast .CelExpr .CelList ;
7373import dev .cel .common .testing .RepeatedTestProvider ;
7474import dev .cel .common .types .CelKind ;
75+ import dev .cel .common .types .CelProtoMessageTypes ;
7576import dev .cel .common .types .CelProtoTypes ;
7677import dev .cel .common .types .CelType ;
7778import dev .cel .common .types .EnumType ;
@@ -1155,7 +1156,7 @@ public void program_messageTypeAddedAsVarWithoutDescriptor_throwsHumanReadableEr
11551156 String packageName = CheckedExpr .getDescriptor ().getFile ().getPackage ();
11561157 Cel cel =
11571158 standardCelBuilderWithMacros ()
1158- .addVar ("parsedExprVar" , CelProtoTypes .createMessage (ParsedExpr .getDescriptor ()))
1159+ .addVar ("parsedExprVar" , CelProtoMessageTypes .createMessage (ParsedExpr .getDescriptor ()))
11591160 .build ();
11601161 CelValidationException exception =
11611162 assertThrows (
You can’t perform that action at this time.
0 commit comments