ublox-at-cellular-interface-ext

Dependencies:   ublox-at-cellular-interface

Revision:
27:12b47e78f601
Parent:
11:3631f62bb359
diff -r 10f59cd0b659 -r 12b47e78f601 TESTS/unit_tests/ftp/main.cpp
--- a/TESTS/unit_tests/ftp/main.cpp	Thu Aug 08 17:37:24 2019 +0500
+++ b/TESTS/unit_tests/ftp/main.cpp	Mon Aug 19 12:25:22 2019 +0500
@@ -261,9 +261,9 @@
     tr_debug("Listing:\n%s", buf);
 
     // The file we will GET should appear in the directory listing
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME));
     // As should the directory name we will change to
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 }
 
 // Test FTP file information
@@ -275,7 +275,7 @@
     tr_debug("File info:\n%s", buf);
 
     // The file info string should at least include the file name
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME));
 }
 
 #if MBED_CONF_APP_FTP_SERVER_SUPPORTS_WRITE
@@ -433,7 +433,7 @@
     tr_debug("Listing:\n%s", buf);
 
     // The listing should include the directory name we are going to move to
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 
     // Change directories
     TEST_ASSERT(pDriver->ftpCommand(UbloxATCellularInterfaceExt::FTP_CD,
@@ -458,7 +458,7 @@
     tr_debug("Listing:\n%s", buf);
 
     // The listing should include the directory name we went to once more
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 }
 
 #ifdef MBED_CONF_APP_FTP_FOTA_FILENAME