diff --git a/components/stratum/test/test_stratum_json.c b/components/stratum/test/test_stratum_json.c index d15e7becf..ec8ca5bfd 100644 --- a/components/stratum/test/test_stratum_json.c +++ b/components/stratum/test/test_stratum_json.c @@ -130,7 +130,7 @@ TEST_CASE("Parse stratum result success with large id", "[stratum]") StratumApiV1Message stratum_api_v1_message = {}; const char *json_string = "{\"id\":32769,\"error\":null,\"result\":true}"; STRATUM_V1_parse(&stratum_api_v1_message, json_string); - TEST_ASSERT_EQUAL(32768, stratum_api_v1_message.message_id); + TEST_ASSERT_EQUAL(32769, stratum_api_v1_message.message_id); TEST_ASSERT_EQUAL(STRATUM_RESULT, stratum_api_v1_message.method); TEST_ASSERT_TRUE(stratum_api_v1_message.response_success); } @@ -153,4 +153,4 @@ TEST_CASE("Parse stratum result error", "[stratum]") TEST_ASSERT_EQUAL(1, stratum_api_v1_message.message_id); TEST_ASSERT_EQUAL(STRATUM_RESULT, stratum_api_v1_message.method); TEST_ASSERT_FALSE(stratum_api_v1_message.response_success); -} \ No newline at end of file +}