summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEmanuele Aina <em@nerd.ocracy.org>2007-06-13 16:16:40 +0000
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-03-26 11:06:43 +0000
commit0672214f17623d23b1e101bbe29eb11dfe35d1be (patch)
tree95356fc9f1466b819d45b0dcd961083ec614e77a /tests
parent3dfc9142f411a14a363d31b42e2c9ecc9838e664 (diff)
Replaced two variables used as constants with thei values
Diffstat (limited to 'tests')
-rw-r--r--tests/wocky-xmpp-connection-test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/wocky-xmpp-connection-test.c b/tests/wocky-xmpp-connection-test.c
index 6a8ac91..22aa70f 100644
--- a/tests/wocky-xmpp-connection-test.c
+++ b/tests/wocky-xmpp-connection-test.c
@@ -70,15 +70,13 @@ parse_error_cb (WockyXmppConnection *connection, gpointer user_data) {
START_TEST (test_simple_message) {
WockyXmppConnection *connection;
TestTransport *transport;
- const gchar *xml_input = "inputs/simple-message.input";
gchar *chunk;
gsize chunk_length;
- const gsize chunk_size = 10;
gboolean parse_error_found = FALSE;
g_type_init ();
- FileChunker *fc = file_chunker_new (xml_input, chunk_size);
+ FileChunker *fc = file_chunker_new ("inputs/simple-message.input", 10);
fail_if (fc == NULL);
transport = test_transport_new (NULL, NULL);