Commit ee0cedb5 authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

Updated tests for ensure-newline

parent 1b330aea
......@@ -45,7 +45,7 @@ test_consecutive_read (const gchar *inbuf,
gtk_text_buffer_set_text (buf, inbuf, -1);
b = g_malloc (200);
in = gedit_document_input_stream_new (buf, type);
in = gedit_document_input_stream_new (buf, type, TRUE);
outlen = strlen (outbuf);
n = 0;
......
......@@ -44,7 +44,7 @@ test_consecutive_write (const gchar *inbuf,
doc = gedit_document_new ();
encodings = g_slist_prepend (encodings, (gpointer)gedit_encoding_get_utf8 ());
out = gedit_document_output_stream_new (doc, encodings);
out = gedit_document_output_stream_new (doc, encodings, TRUE);
n = 0;
......@@ -128,7 +128,7 @@ test_boundary ()
doc = gedit_document_new ();
encodings = g_slist_prepend (encodings, (gpointer)gedit_encoding_get_utf8 ());
out = gedit_document_output_stream_new (doc, encodings);
out = gedit_document_output_stream_new (doc, encodings, TRUE);
g_output_stream_write (out, "\r", 1, NULL, NULL);
g_output_stream_write (out, "\n", 1, NULL, NULL);
......@@ -295,7 +295,7 @@ do_test (const gchar *inbuf,
}
doc = gedit_document_new ();
out = gedit_document_output_stream_new (doc, encodings);
out = gedit_document_output_stream_new (doc, encodings, TRUE);
n = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment