Skip to content

Commit 47e6ad4

Browse files
allenporterCopilot
andauthored
chore: update comments from co-pilot feedback
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 70ec12f commit 47e6ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/protocols/test_a01_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def test_encode_mqtt_payload_complex_data():
9595
201: json.dumps(
9696
{
9797
"nested": {"deep": {"value": 123}},
98-
# Note: The list inside the dictionary is NOT converted because
99-
# our fix only targets top-level list values in the dps map
98+
# Note: The list inside the dictionary remains as a JSON array (not a stringified list)
99+
# because json.dumps() is only applied to the top-level dictionary value as a whole.
100100
"list": [1, 2, 3, "test"],
101101
"boolean": True,
102102
"null": None,

0 commit comments

Comments
 (0)