Update Structured Headers generated specification tests. Sync the generated Structured Headers specification test cases against the latest upstream https://github.com/httpwg/structured-field-tests repository (commit d2631437ac370a3a231be9f1d71aa8bfbf91a007), which adds negative-zero decimal rounding tests (https://github.com/httpwg/structured-field-tests/issues/132). Track the two new failing serialization test cases in `KNOWN_BUGS` under b/588311653 so they can be fixed in a follow-up CL. PiperOrigin-RevId: 1033550346
diff --git a/quiche/common/structured_headers_generated_test.cc b/quiche/common/structured_headers_generated_test.cc index 2becf7a..b63165b 100644 --- a/quiche/common/structured_headers_generated_test.cc +++ b/quiche/common/structured_headers_generated_test.cc
@@ -18,8 +18,8 @@ // being automatically translated from the JSON source to C++ unit tests. Please // do not modify, as the contents will be overwritten when this is re-generated. -// Generated on 2026-11-12 from structured-field-tests.git @ -// 10781e4a59c387853c900cc06cdd8a3fd7ae4134. +// Generated on 2026-12-01 from structured-field-tests.git @ +// d2631437ac370a3a231be9f1d71aa8bfbf91a007. namespace quiche { namespace structured_headers { @@ -6065,6 +6065,14 @@ {"round tie to even, above the midpoint as a float - serialize", {Item(2.0005), {}}, "2.0"}, + {"negative decimal rounds to zero - serialize", + {Item(-0.0001), {}}, + "0.0", + "b/588311653"}, + {"negative midpoint decimal rounds tie to even zero - serialize", + {Item(-0.0005), {}}, + "0.0", + "b/588311653"}, // serialisation-tests/string-generated.json {"0x00 in string - serialise only", {Item(Item::string, std::string("\000", 1)), {}}},