diff options
Diffstat (limited to 'src/supplicant-manager/tests/test-supplicant-config.c')
-rw-r--r-- | src/supplicant-manager/tests/test-supplicant-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supplicant-manager/tests/test-supplicant-config.c b/src/supplicant-manager/tests/test-supplicant-config.c index ce884a8dd5..ae9c1f754b 100644 --- a/src/supplicant-manager/tests/test-supplicant-config.c +++ b/src/supplicant-manager/tests/test-supplicant-config.c @@ -169,7 +169,7 @@ test_wifi_open (void) ASSERT (nm_connection_verify (connection, &error) == TRUE, "wifi-open", "failed to verify connection: %s", - (error && error->message) ? error->message : "(unknown)"); + error->message); config = nm_supplicant_config_new (); @@ -280,7 +280,7 @@ test_wifi_wep_key (const char *detail, ASSERT (nm_connection_verify (connection, &error) == TRUE, detail, "failed to verify connection: %s", - (error && error->message) ? error->message : "(unknown)"); + error->message); config = nm_supplicant_config_new (); @@ -429,7 +429,7 @@ test_wifi_wpa_psk (const char *detail, ASSERT (nm_connection_verify (connection, &error) == TRUE, detail, "failed to verify connection: %s", - (error && error->message) ? error->message : "(unknown)"); + error->message); config = nm_supplicant_config_new (); |