[gegl/xml: 8/12] xml test: a bit of cleaning
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/xml: 8/12] xml test: a bit of cleaning
- Date: Sun, 21 Apr 2013 08:43:31 +0000 (UTC)
commit bab3e8f9a0f0b2df04bacb1da766e2f9524558bf
Author: Michael Muré <batolettre gmail com>
Date: Sun Apr 21 09:52:42 2013 +0200
xml test: a bit of cleaning
tests/xml/common.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/xml/common.c b/tests/xml/common.c
index a0b63c3..3a3a78e 100644
--- a/tests/xml/common.c
+++ b/tests/xml/common.c
@@ -28,14 +28,14 @@
static void
assert_equivalent_xml(const gchar *actual, const gchar *expected)
{
- gboolean equal;
+ gboolean equal;
- g_assert(actual);
- g_assert(expected);
+ g_assert(actual);
+ g_assert(expected);
equal = (g_strcmp0(actual, expected) == 0);
if (!equal) {
- g_print("\n\"%s\"\n!= (not equal)\n\"%s\"\n", actual, expected);
+ g_print("\n\"%s\"\nis different than expected\n\"%s\"\n", actual, expected);
}
g_assert(equal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]