Fixed stdin redirection test

This commit is contained in:
Snaipe 2015-09-20 13:21:57 +02:00
parent b655e3b1f2
commit 84706900b4

View file

@ -79,7 +79,7 @@ Test(redirect, stderr_) {
Test(redirect, stdin_) {
auto& f_cin = criterion::get_redirected_cin();
f_cin << "Foo";
f_cin << std::string("Foo");
f_cin.close();
std::string read;