aboutsummaryrefslogtreecommitdiff
path: root/tests/parser/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/driver.cxx')
-rw-r--r--tests/parser/driver.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/parser/driver.cxx b/tests/parser/driver.cxx
index c1c6f3d..25864aa 100644
--- a/tests/parser/driver.cxx
+++ b/tests/parser/driver.cxx
@@ -41,14 +41,13 @@ main ()
try
{
istringstream is ("<root/>");
- is.exceptions (ios_base::badbit | ios_base::failbit);
parser p (is, "test");
is.setstate (ios_base::badbit);
p.next ();
assert (false);
}
- catch (const ios_base::failure&)
+ catch (const xml::exception&)
{
}