summaryrefslogtreecommitdiffstats
path: root/src/tests/string_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/string_test.c')
-rw-r--r--src/tests/string_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/string_test.c b/src/tests/string_test.c
index 4693b5f6..a66501da 100644
--- a/src/tests/string_test.c
+++ b/src/tests/string_test.c
@@ -88,6 +88,7 @@ static void string_test_exec ( void ) {
ok ( strcmp ( "Hello", "hello" ) != 0 );
ok ( strcmp ( "Hello", "Hello world!" ) != 0 );
ok ( strcmp ( "Hello world!", "Hello" ) != 0 );
+ ok ( strcmp ( "abc", "def" ) < 0 );
/* Test strncmp() */
ok ( strncmp ( "", "", 0 ) == 0 );