aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/unit1301.c14
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