summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-04 10:34:15 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-04 10:37:02 +0200
commitf26612018fe65d78581bfc5c8c23608d23750686 (patch)
tree09800f766a6760a4a4eedc42caac1bc614550a5f /tests
parent5e3fe022d9eecf8943663b1e622569226920177a (diff)
wocky-xmpp-readwrite-test.c: rename VERSION to XMPP_VERSION
VERSION is defined in config.h
Diffstat (limited to 'tests')
-rw-r--r--tests/wocky-xmpp-readwrite-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wocky-xmpp-readwrite-test.c b/tests/wocky-xmpp-readwrite-test.c
index a9f9511..ca48ae5 100644
--- a/tests/wocky-xmpp-readwrite-test.c
+++ b/tests/wocky-xmpp-readwrite-test.c
@@ -10,7 +10,7 @@
#define TO "example.net"
#define FROM "julliet@example.com"
-#define VERSION "1.0"
+#define XMPP_VERSION "1.0"
#define LANG "en"
#define DUMMY_NS "urn:wocky:test:blah:blah:blah"
@@ -54,7 +54,7 @@ test_readwrite (void)
g_assert (wocky_xmpp_reader_get_state (reader)
== WOCKY_XMPP_READER_STATE_INITIAL);
- wocky_xmpp_writer_stream_open (writer, TO, FROM, VERSION, LANG, NULL,
+ wocky_xmpp_writer_stream_open (writer, TO, FROM, XMPP_VERSION, LANG, NULL,
&data, &length);
wocky_xmpp_reader_push (reader, data, length);
@@ -70,7 +70,7 @@ test_readwrite (void)
g_assert (!wocky_strdiff (to, TO));
g_assert (!wocky_strdiff (from, FROM));
- g_assert (!wocky_strdiff (version, VERSION));
+ g_assert (!wocky_strdiff (version, XMPP_VERSION));
g_assert (!wocky_strdiff (lang, LANG));
g_free (to);