From df403279a5192744a8fee0883ed9d0f587d60d1a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 14:04:41 +0000 Subject: [PATCH] fix(test): compare the string event value with the expected value - the SubscribeAsString() callback compared the received value with its own string conversion, so the check could not fail - compare it with the string conversion of the value that the test set Co-Authored-By: Claude Opus 5.5 --- test/properties/_properties.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/properties/_properties.cxx b/test/properties/_properties.cxx index 51d30098..f8581237 100644 --- a/test/properties/_properties.cxx +++ b/test/properties/_properties.cxx @@ -119,7 +119,7 @@ auto subscribe_and_set(ProgOptions& options, const string& expected_key, T expec options.SubscribeAsString(subscriber, [&](const string& key, string value) { if (expected_key == key) { ++asstring_events; - EXPECT_EQ(value, PropertyHelper::ConvertPropertyToString(Property(value))); + EXPECT_EQ(value, PropertyHelper::ConvertPropertyToString(Property(expected_value))); } ++total_events; });