[network-manager-openvpn] trivial: fix error messages for tests
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] trivial: fix error messages for tests
- Date: Mon, 24 Mar 2014 15:22:42 +0000 (UTC)
commit a39781d88eac42781dacd7f959117bb6922f9f83
Author: Jiří Klimeš <jklimes redhat com>
Date: Mon Mar 24 12:45:19 2014 +0100
trivial: fix error messages for tests
properties/tests/test-import-export.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/properties/tests/test-import-export.c b/properties/tests/test-import-export.c
index 8031f65..0232c91 100644
--- a/properties/tests/test-import-export.c
+++ b/properties/tests/test-import-export.c
@@ -71,14 +71,14 @@ test_item (const char *test,
value = nm_setting_vpn_get_data_item (s_vpn, item);
if (expected == NULL) {
- ASSERT (value == NULL, test, "unexpected '%s' item value (found '%s', expected NULL",
+ ASSERT (value == NULL, test, "unexpected '%s' item value (found '%s', expected NULL)",
item, value);
return;
}
ASSERT (value != NULL, test, "missing '%s' item value", item);
ASSERT (strcmp (value, expected) == 0, test,
- "unexpected '%s' secret value (found '%s', expected '%s')",
+ "unexpected '%s' item value (found '%s', expected '%s')",
item, value, expected);
}
@@ -94,7 +94,7 @@ test_secret (const char *test,
value = nm_setting_vpn_get_secret (s_vpn, item);
if (expected == NULL) {
- ASSERT (value == NULL, test, "unexpected '%s' secret value (found '%s', expected NULL",
+ ASSERT (value == NULL, test, "unexpected '%s' secret value (found '%s', expected NULL)",
item, value);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]