diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_iostream.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_iostream.cpp b/tests/test_iostream.cpp index 3477fc6..a3437a2 100644 --- a/tests/test_iostream.cpp +++ b/tests/test_iostream.cpp @@ -71,11 +71,18 @@ bool testCoutCerr() { return true; } +bool testManip() { + std::cout << "line 1" << std::endl + << " a nul char |" << std::ends << std::flush << "| in line 2."; + return true; +} + } // namespace android int main(int argc, char **argv){ FAIL_UNLESS(testStaticInit); FAIL_UNLESS(testOstream); FAIL_UNLESS(testCoutCerr); + FAIL_UNLESS(testManip); return kPassed; } |