Fixed stdin redirection test
This commit is contained in:
parent
b655e3b1f2
commit
84706900b4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue