[gegl] tests: obey some clang code clarity suggestions
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: obey some clang code clarity suggestions
- Date: Tue, 3 Oct 2017 15:24:54 +0000 (UTC)
commit df06899e211a2873f58c4bdaf4bb638fae7f9b7b
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Sep 30 02:01:55 2017 +0200
tests: obey some clang code clarity suggestions
tests/simple/test-misc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/simple/test-misc.c b/tests/simple/test-misc.c
index 8ab0ecf..78a59bd 100644
--- a/tests/simple/test-misc.c
+++ b/tests/simple/test-misc.c
@@ -34,7 +34,7 @@ test_misc_case_sensitive_mime_handler (void)
gegl_operation_handlers_register_loader (mime, handler);
received_handler = gegl_operation_handlers_get_loader (mime);
- if (! strcmp (received_handler, handler) == 0)
+ if ( strcmp (received_handler, handler) != 0)
result = FAILURE;
return result;
@@ -53,7 +53,7 @@ test_misc_case_insensitive_extension_handler (void)
/* Make sure comparisions are case insensitive */
received_handler = gegl_operation_handlers_get_loader (uppercase);
- if (! strcmp (received_handler, handler) == 0)
+ if (strcmp (received_handler, handler) != 0)
result = FAILURE;
return result;
@@ -70,7 +70,7 @@ test_misc_save_handler (void)
gegl_operation_handlers_register_saver (ext, handler);
received_handler = gegl_operation_handlers_get_saver (ext);
- if (! strcmp (received_handler, handler) == 0)
+ if (strcmp (received_handler, handler) != 0)
result = FAILURE;
return result;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]