test: Update SHAMapTraversal comment to reflect Release-build checks

PR 7944 converted the XRPL_ASSERT guards in NodePathStack to UNREACHABLE + return false,
so the pairing checks now fail in both Debug and Release builds, not just Debug. Update
the comment to reflect this change.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Bart
2026-09-11 15:38:52 -04:00
parent e320a17a54
commit 4c05d69a4a

View File

@@ -273,8 +273,8 @@ INSTANTIATE_TEST_SUITE_P(
shamapBackingModeName);
// Exercises the traversal stacks built by belowHelper. Each stack entry pairs a node with the ID
// naming its position, and SHAMap asserts that pairing on every push, so these traversals fail
// loudly in a Debug build if a node ID is ever derived from the wrong branch.
// naming its position, and SHAMap enforces that pairing on every push, failing if a node ID is
// ever derived from the wrong branch (both Debug and Release builds).
class SHAMapTraversal : public ::testing::Test
{
protected: