Skip to content

Commit

Permalink
lib-mail: Improve ostream-dot unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed May 18, 2016
1 parent bcab95c commit ea854ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-mail/test-ostream-dot.c
Expand Up @@ -40,6 +40,8 @@ static void test_ostream_dot_one(const struct dot_test *test)
test_assert(test_input->eof);

test_assert(o_stream_flush(output) > 0);
test_assert(output->offset == strlen(test->input));
test_assert(test_output->offset == strlen(test->output));
o_stream_unref(&output);
o_stream_unref(&test_output);

Expand Down

0 comments on commit ea854ed

Please sign in to comment.