aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/test-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-20 00:24:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-20 00:25:23 +0800
commit732d38cf6f2eaba80778b0153b92421a971948d5 (patch)
treee9be63a7be08d4a596872c1f76a0fd337a2f795b /addressbook/gui/contact-editor/test-editor.c
parent186370e3a44a90b6761c373e4290213d1e51d1e7 (diff)
downloadgsoc2013-evolution-732d38cf6f2eaba80778b0153b92421a971948d5.tar.gz
gsoc2013-evolution-732d38cf6f2eaba80778b0153b92421a971948d5.tar.zst
gsoc2013-evolution-732d38cf6f2eaba80778b0153b92421a971948d5.zip
Fix "make check" errors.
Diffstat (limited to 'addressbook/gui/contact-editor/test-editor.c')
-rw-r--r--addressbook/gui/contact-editor/test-editor.c37
1 files changed, 12 insertions, 25 deletions
diff --git a/addressbook/gui/contact-editor/test-editor.c b/addressbook/gui/contact-editor/test-editor.c
index 6c3349eada..d6f77c3261 100644
--- a/addressbook/gui/contact-editor/test-editor.c
+++ b/addressbook/gui/contact-editor/test-editor.c
@@ -28,31 +28,18 @@
#include "e-contact-editor.h"
#include "ebook/e-card.h"
-#define TEST_VCARD \
-"BEGIN:VCARD
-" \
-"FN:Nat
-" \
-"N:Friedman;Nat;D;Mr.
-" \
-"BDAY:1977-08-06
-" \
-"TEL;WORK:617 679 1984
-" \
-"TEL;CELL:123 456 7890
-" \
-"EMAIL;INTERNET:nat@nat.org
-" \
-"EMAIL;INTERNET:nat@ximian.com
-" \
-"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;
-" \
-"ADR;HOME;POSTAL;INTL:P.O. Box 202;;;Any Town 2;MI;12344-4321;USA
-" \
-"END:VCARD
-" \
-"
-"
+#define TEST_VCARD \
+"BEGIN:VCARD\n" \
+"FN:Nat\n" \
+"N:Friedman;Nat;D;Mr.\n" \
+"BDAY:1977-08-06\n" \
+"TEL;WORK:617 679 1984\n" \
+"TEL;CELL:123 456 7890\n" \
+"EMAIL;INTERNET:nat@nat.org\n" \
+"EMAIL;INTERNET:nat@ximian.com\n" \
+"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;\n" \
+"ADR;HOME;POSTAL;INTL:P.O. Box 202;;;Any Town 2;MI;12344-4321;USA\n" \
+"END:VCARD\n"
static gchar *
read_file (gchar *name)