1 suggestion
Optional improvements
[suggestion] · Descriptor info scopes do not cover the Parse() assertions
The parsing assertions in descriptor_tests still lack the new descriptor context, making generic parser errors harder to trace to an input.
Location: src/test/descriptor_tests.cpp:196 (head).
Details and suggested fix
Both Parse() assertions in DoCheck() execute before the new BOOST_TEST_INFO_SCOPE declarations. Their messages contain only error, which can be generic, such as "Invalid characters in payload", and Check() adds no descriptor context for either variant. An empty parse result then causes the following .at(desc_index) access to throw, ending the test case. This is an existing diagnostic gap rather than a regression. Perform both optional UseHInsteadOfApostrophe replacements first, then open the two scopes before parsing and checking either descriptor. That preserves the assertions and records the actual strings being parsed; opening the scopes at function entry would instead capture the original inputs before replacement.