summaryrefslogtreecommitdiff
path: root/tests/document-output-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-output-stream.c')
-rw-r--r--tests/document-output-stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/document-output-stream.c b/tests/document-output-stream.c
index 75587c50..03df8aa3 100644
--- a/tests/document-output-stream.c
+++ b/tests/document-output-stream.c
@@ -57,6 +57,9 @@ test_consecutive_write (const gchar *inbuf,
n += w;
} while (w != 0);
+ g_assert(g_output_stream_flush (out, NULL, &err) == TRUE);
+ g_assert_no_error (err);
+
g_object_get (G_OBJECT (doc), "text", &b, NULL);
g_assert_cmpstr (inbuf, ==, b);