summaryrefslogtreecommitdiff
path: root/tests/test_xpath_variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_xpath_variables.cpp')
-rw-r--r--tests/test_xpath_variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_variables.cpp b/tests/test_xpath_variables.cpp
index 53b40cf..7a099c4 100644
--- a/tests/test_xpath_variables.cpp
+++ b/tests/test_xpath_variables.cpp
@@ -293,7 +293,7 @@ TEST(xpath_variables_long_name_out_of_memory)
CHECK_FORCE_FAIL("Expected exception");
}
- catch (const xpath_exception&)
+ catch (const std::bad_alloc&)
{
}
#endif