aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/process_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/process_TEST.cc')
-rw-r--r--paludis/util/process_TEST.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/process_TEST.cc b/paludis/util/process_TEST.cc
index 09535547a..8eedf0306 100644
--- a/paludis/util/process_TEST.cc
+++ b/paludis/util/process_TEST.cc
@@ -129,7 +129,7 @@ TEST(Process, GrabStdoutLong)
std::string s;
for (int x(1) ; x <= 100000 ; ++x)
{
- ASSERT_TRUE(std::getline(stdout_stream, s));
+ ASSERT_TRUE(bool(std::getline(stdout_stream, s)));
ASSERT_EQ(stringify(x), s);
}
@@ -265,7 +265,7 @@ TEST(Process, CapturedPipeCommand)
EXPECT_EQ(13, one_two_three_process.run().wait());
std::string line;
- ASSERT_TRUE(std::getline(stdout_stream, line));
+ ASSERT_TRUE(bool(std::getline(stdout_stream, line)));
EXPECT_EQ("2", line);
ASSERT_TRUE(! std::getline(stdout_stream, line));
}