Skip to content

Commit 6e3b3e0

Browse files
Minor update to the field name and numbering for test suites (#457)
1 parent 4180ac5 commit 6e3b3e0

File tree

2 files changed

+70
-73
lines changed

2 files changed

+70
-73
lines changed

conformance/test/suite.pb.go

Lines changed: 67 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/cel/expr/conformance/test/suite.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ message TestCase {
8181

8282
// A map representing a variable binding where the key is the name of the
8383
// input variable.
84-
map<string, InputValue> input_bindings = 5;
84+
map<string, InputValue> input = 5;
8585

8686
// Input in the form of a context proto for the test case.
8787
// Note: Only one of `input_bindings` and `input_context` can be provided. Providing
@@ -107,13 +107,13 @@ message InputContext {
107107
oneof input_context_kind {
108108
// A context message represents an input kind in the form of a proto
109109
// message whose type is defined at runtime.
110-
google.protobuf.Any context_message = 2;
110+
google.protobuf.Any context_message = 1;
111111

112112
// A context expression representing a context proto variable. The
113113
// fields of the input proto.Messages are used as top-level variables within
114114
// an Activation. The expression is evaluated using the cel environment
115115
// configured for the test suite.
116-
string context_expr = 3;
116+
string context_expr = 2;
117117
}
118118
}
119119

0 commit comments

Comments
 (0)