Fix a test break when converting to http[s] URL

This commit is contained in:
Aaron Culliney 2016-07-02 13:35:20 -07:00
parent b0a2a34d6a
commit 4fee1ee0be

View File

@ -1749,7 +1749,7 @@ TEST test_json_unescaping() {
ASSERT(strcmp(parsedData.jsonString, "\"https://deadc0de.org/apple2ix/android/\"") == 0); ASSERT(strcmp(parsedData.jsonString, "\"https://deadc0de.org/apple2ix/android/\"") == 0);
size_t newLen = strlen(parsedData.jsonString); size_t newLen = strlen(parsedData.jsonString);
ASSERT(parsedData.jsonLen != newLen); ASSERT(parsedData.jsonLen != newLen);
ASSERT(newLen == 39); ASSERT(newLen == 40);
json_destroy(&jsonRef); json_destroy(&jsonRef);