Keep revision-matching mutation aligned with required wire fields
1 file changed,
+2
−2
mutations.py+2 −2
CI passed — run details
CI log
=== gate === ok amadan.net/oficina/suite 0.005s ok amadan.net/oficina/suite/conformance 0.004s
diff --git a/mutations.py b/mutations.py| index 219c06f..c9993f2 100644 |
| --- a/mutations.py |
| +++ b/mutations.py |
| @@ -14,8 +14,8 @@ MUTATIONS = [ |
| "\tif status < 200 || status > 299 {\n\t\treturn nil\n\t}"), |
| ("12a: the revision is ignored when matching answers to questions", "s2.go", |
| - "\t\tpair := ItemRevision{ItemID: r.ItemID, Revision: r.Revision}", |
| - "\t\tpair := ItemRevision{ItemID: r.ItemID}"), |
| + "\t\tpair := ItemRevision{ItemID: *r.ItemID, Revision: *r.Revision}", |
| + "\t\tpair := ItemRevision{ItemID: *r.ItemID}"), |
| ("12b: STALE is dropped from the closed vocabulary", "s2.go", |
| "\tcase VISIBLE, NOT_VISIBLE, STALE, UNKNOWN:", |