Address PR comments

This commit is contained in:
JCW
2026-04-01 21:06:53 +01:00
parent e7f3241af3
commit b3e1937244

View File

@@ -152,7 +152,7 @@ public:
BEAST_EXPECT(c.canonicalize_replace_cache(5, p2));
BEAST_EXPECT(c.getCacheSize() == 1);
BEAST_EXPECT(c.size() == 1);
// Make sure we get the new object cached, not the original
// Make sure the caller's original pointer is unchanged
BEAST_EXPECT(p1.get() != p2.get());
BEAST_EXPECT(*p2 == "five_2");