mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 07:26:51 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user