aboutsummaryrefslogtreecommitdiff
path: root/tests/pager
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pager')
-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);