aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 81243be58..f90e0037b 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -298,7 +298,7 @@ class Test
}
bool test_throws(const std::string& what, std::function<void ()> fn);
-
+
bool test_throws(const std::string& what, const std::string& expected,
std::function<void ()> fn);
@@ -323,7 +323,7 @@ class Test
};
virtual std::vector<Test::Result> run() = 0;
- virtual ~Test() {}
+ virtual ~Test() = default;
static std::vector<Test::Result> run_test(const std::string& what, bool fail_if_missing);