diff options
Diffstat (limited to 'libtests/closed_file_input_source.cc')
-rw-r--r-- | libtests/closed_file_input_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtests/closed_file_input_source.cc b/libtests/closed_file_input_source.cc index 7309ca31..f3e4f2ac 100644 --- a/libtests/closed_file_input_source.cc +++ b/libtests/closed_file_input_source.cc @@ -38,9 +38,9 @@ void do_tests(InputSource* is) is->seek(521, SEEK_SET); is->read(b, 1); #else - is->unreadCh('Q'); + is->unreadCh('\n'); check("read unread character", 1 == is->read(b, 1)); - check("got character", 'Q' == b[0]); + check("got character", '\n' == b[0]); #endif check("last offset after read unread", 521 == is->getLastOffset()); is->seek(0, SEEK_END); |