1 suggestion
Optional improvements
[suggestion] · Descriptor test context hides the apostrophe-to-h pass
Failures relying on the new scoped context show the original apostrophe form even during the converted h pass, losing diagnostic detail previously supplied by the removed messages.
Location: src/test/descriptor_tests.cpp:186 (head).
Details and suggested fix
Check() runs DoCheck() twice when both descriptors contain apostrophes, including the existing pkh([deadbeef/1/2'/3/4']...) fixture. Boost.Test captures each scope message when the scope opens, before UseHInsteadOfApostrophe() changes either string. Consequently, assertions such as the key-count checks now receive identical descriptor context in both passes instead of identifying the form actually parsed. The original strings still identify the fixture, and some remaining assertions explicitly print converted values; test outcomes are unchanged. Perform both optional conversions before opening the scopes, then run both Parse() calls and their checks. This records the parsed forms while retaining scoped context for both parsing assertions.