aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/string_list_stream_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/string_list_stream_TEST.cc')
-rw-r--r--paludis/util/string_list_stream_TEST.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/util/string_list_stream_TEST.cc b/paludis/util/string_list_stream_TEST.cc
index ab1df95c8..309c4b63a 100644
--- a/paludis/util/string_list_stream_TEST.cc
+++ b/paludis/util/string_list_stream_TEST.cc
@@ -49,13 +49,13 @@ TEST(StringListStream, Works)
std::string l;
- ASSERT_TRUE(std::getline(s, l));
+ ASSERT_TRUE(bool(std::getline(s, l)));
EXPECT_EQ("foo", l);
- ASSERT_TRUE(std::getline(s, l));
+ ASSERT_TRUE(bool(std::getline(s, l)));
EXPECT_EQ("bar", l);
- ASSERT_TRUE(std::getline(s, l));
+ ASSERT_TRUE(bool(std::getline(s, l)));
EXPECT_EQ("baz", l);
ASSERT_TRUE(! std::getline(s, l));
@@ -69,7 +69,7 @@ TEST(StringListStream, Threads)
std::string l;
for (int n(0) ; n < 100 ; ++n)
{
- ASSERT_TRUE(std::getline(s, l));
+ ASSERT_TRUE(bool(std::getline(s, l)));
EXPECT_EQ(stringify(n), l);
}