aboutsummaryrefslogtreecommitdiff
path: root/lib/strequal.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
commit0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch)
treeef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/strequal.c
parentd5cc77b7449316b6c8374968594f718df567ef7a (diff)
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
Diffstat (limited to 'lib/strequal.c')
-rw-r--r--lib/strequal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/strequal.c b/lib/strequal.c
index f6bf5f3b9..15896b9fd 100644
--- a/lib/strequal.c
+++ b/lib/strequal.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -31,6 +31,9 @@
#include "strequal.h"
+/*
+ * @unittest: 1301
+ */
int curl_strequal(const char *first, const char *second)
{
#if defined(HAVE_STRCASECMP)
@@ -51,6 +54,9 @@ int curl_strequal(const char *first, const char *second)
#endif
}
+/*
+ * @unittest: 1301
+ */
int curl_strnequal(const char *first, const char *second, size_t max)
{
#if defined(HAVE_STRNCASECMP)