diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-10-31 09:53:34 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-31 09:53:34 +0100 |
commit | 06bc2100d2c6c4b26a10e0751fcabac8e64b1990 (patch) | |
tree | 0a7f26a474c64c0a6df405ae76552b2a876478ba /tests/unit | |
parent | cce5250f6a8a517680c0e9bb7535de3cd6f8bda8 (diff) |
unit1301: keep testing curl_strequal
as that is still part of the API, fix from 8fe4bd084412f30
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/unit1301.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/unit1301.c b/tests/unit/unit1301.c index 0d6c0cdef..aa8610113 100644 --- a/tests/unit/unit1301.c +++ b/tests/unit/unit1301.c @@ -30,25 +30,25 @@ UNITTEST_START int rc; -rc = curl_strcasecompare("iii", "III"); +rc = curl_strequal("iii", "III"); fail_unless(rc != 0, "return code should be zero"); -rc = curl_strcasecompare("iiia", "III"); +rc = curl_strequal("iiia", "III"); fail_unless(rc == 0, "return code should be zero"); -rc = curl_strcasecompare("iii", "IIIa"); +rc = curl_strequal("iii", "IIIa"); fail_unless(rc == 0, "return code should be zero"); -rc = curl_strcasecompare("iiiA", "IIIa"); +rc = curl_strequal("iiiA", "IIIa"); fail_unless(rc != 0, "return code should be non-zero"); -rc = curl_strncasecompare("iii", "III", 3); +rc = curl_strnequal("iii", "III", 3); fail_unless(rc != 0, "return code should be non-zero"); -rc = curl_strncasecompare("iiiABC", "IIIcba", 3); +rc = curl_strnequal("iiiABC", "IIIcba", 3); fail_unless(rc != 0, "return code should be non-zero"); -rc = curl_strncasecompare("ii", "II", 3); +rc = curl_strnequal("ii", "II", 3); fail_unless(rc != 0, "return code should be non-zero"); UNITTEST_STOP |