aboutsummaryrefslogtreecommitdiff
path: root/tests/pager/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-12 17:24:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-23 19:42:48 +0300
commit6c8e3f09c185d7fa4664ccd9e5c4f623a17b84cc (patch)
tree513f523dba31f275994d8152c02db82f3380c56e /tests/pager/driver.cxx
parent09bedede7116961fbfb298a6a6cfa933af7af682 (diff)
Extend fdstream
Diffstat (limited to 'tests/pager/driver.cxx')
-rw-r--r--tests/pager/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pager/driver.cxx b/tests/pager/driver.cxx
index cab3078..e921533 100644
--- a/tests/pager/driver.cxx
+++ b/tests/pager/driver.cxx
@@ -2,6 +2,7 @@
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
+#include <ios> // ios_base::failure
#include <vector>
#include <string>
#include <utility> // move()
@@ -104,6 +105,10 @@ public:
assert (p.wait ());
}
+ catch (const ios_base::failure&)
+ {
+ assert (false);
+ }
catch (const system_error&)
{
assert (false);