Merge branch 'bugfix/unity_error_codes_as_hex' into 'master'

unity: log error codes as hex

See merge request !1166
pull/846/merge
Ivan Grokhotkov 2017-08-29 13:32:48 +08:00
commit 84dec4459b
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -81,8 +81,8 @@ void unity_run_all_tests();
*/ */
// shorthand to check esp_err_t return code // shorthand to check esp_err_t return code
#define TEST_ESP_OK(rc) TEST_ASSERT_EQUAL_INT32(ESP_OK, rc) #define TEST_ESP_OK(rc) TEST_ASSERT_EQUAL_HEX32(ESP_OK, rc)
#define TEST_ESP_ERR(err, rc) TEST_ASSERT_EQUAL_INT32(err, rc) #define TEST_ESP_ERR(err, rc) TEST_ASSERT_EQUAL_HEX32(err, rc)
#endif //UNITY_CONFIG_H #endif //UNITY_CONFIG_H