aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_tests.cpp b/src/tests/test_tests.cpp
index eb5b1d42e..49a05d6ab 100644
--- a/src/tests/test_tests.cpp
+++ b/src/tests/test_tests.cpp
@@ -150,7 +150,7 @@ class Test_Tests final : public Test
{
Test::Result test_result(testcase_name);
test_result.test_throws("test_throws", "expected msg",
- []() { throw "not even a std::exception"; });
+ []() { throw std::string("not even a std::exception"); });
verify_failure("test_throws", result, test_result);
}