summaryrefslogtreecommitdiffhomepage
path: root/test/rope_test/crope.pred.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/rope_test/crope.pred.test.cpp')
-rw-r--r--test/rope_test/crope.pred.test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/rope_test/crope.pred.test.cpp b/test/rope_test/crope.pred.test.cpp
index ba43331..1c0b18f 100644
--- a/test/rope_test/crope.pred.test.cpp
+++ b/test/rope_test/crope.pred.test.cpp
@@ -13,7 +13,8 @@
BOOST_AUTO_TEST_CASE(rope_should_succeed_in_empty_pred)
{
auto rope = ocl::tproc::crope("");
- auto it = ocl::tproc::rope::find(rope.cbegin(), rope.cend(), ocl::tproc::rope::exact_pred("foo"));
+ auto it = ocl::tproc::rope::find(rope.cbegin(), rope.cend(),
+ ocl::tproc::rope::exact_pred("foo"));
BOOST_TEST(it == rope.cend());
}
@@ -22,6 +23,7 @@ BOOST_AUTO_TEST_CASE(rope_should_not_succeed_in_empty_pred)
auto rope = ocl::tproc::crope("foobar");
// find the leaf with the exact value 'foo'
- auto it = ocl::tproc::rope::find(rope.cbegin(), rope.cend(), ocl::tproc::rope::starts_with_pred("foo"));
+ auto it = ocl::tproc::rope::find(rope.cbegin(), rope.cend(),
+ ocl::tproc::rope::starts_with_pred("foo"));
BOOST_TEST(it != rope.cend());
}