Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
added space for pipe close test
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed May 12, 2019
1 parent 476c6cc commit 23ff67d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/pipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ BOOST_AUTO_TEST_CASE(stream_close, *boost::unit_test::timeout(5))
bp::ipstream ip{p};
p.close();

op << i;
op << i << " ";
op.close();

ip >> j;

BOOST_CHECK_EQUAL(i, j);
Expand All @@ -261,6 +262,7 @@ BOOST_AUTO_TEST_CASE(stream_close_scope, *boost::unit_test::timeout(5))
bp::opstream op{ip.pipe()};
op << i;
}
ip.pipe().close_sink();
ip >> j;

BOOST_CHECK_EQUAL(i, j);
Expand Down

0 comments on commit 23ff67d

Please sign in to comment.