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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/document-output-stream.c b/tests/document-output-stream.c
index a7e93a32..75587c50 100644
--- a/tests/document-output-stream.c
+++ b/tests/document-output-stream.c
@@ -91,22 +91,22 @@ test_empty ()
static void
test_consecutive ()
{
- test_consecutive_write ("hello\nhow\nare\nyou", "hello\nhow\nare\nyou", 2,
+ test_consecutive_write ("hello\nhow\nare\nyou", "hello\nhow\nare\nyou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_LF);
- test_consecutive_write ("hello\rhow\rare\ryou", "hello\rhow\rare\ryou", 2,
+ test_consecutive_write ("hello\rhow\rare\ryou", "hello\rhow\rare\ryou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_CR);
- test_consecutive_write ("hello\r\nhow\r\nare\r\nyou", "hello\r\nhow\r\nare\r\nyou", 2,
+ test_consecutive_write ("hello\r\nhow\r\nare\r\nyou", "hello\r\nhow\r\nare\r\nyou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF);
}
static void
test_consecutive_tnewline ()
{
- test_consecutive_write ("hello\nhow\nare\nyou\n", "hello\nhow\nare\nyou", 2,
+ test_consecutive_write ("hello\nhow\nare\nyou\n", "hello\nhow\nare\nyou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_LF);
- test_consecutive_write ("hello\rhow\rare\ryou\r", "hello\rhow\rare\ryou", 2,
+ test_consecutive_write ("hello\rhow\rare\ryou\r", "hello\rhow\rare\ryou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_CR);
- test_consecutive_write ("hello\r\nhow\r\nare\r\nyou\r\n", "hello\r\nhow\r\nare\r\nyou", 2,
+ test_consecutive_write ("hello\r\nhow\r\nare\r\nyou\r\n", "hello\r\nhow\r\nare\r\nyou", 3,
PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF);
}