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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 15ce4b4ab..d2fe0e69b 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -42,7 +42,7 @@ size_t run_tests_in_dir(const std::string& dir, std::function<size_t (const std:
// Run a list of tests
typedef std::function<size_t ()> test_fn;
-size_t run_tests(const std::vector<test_fn>& tests);
+size_t run_tests(const std::vector<std::pair<std::string, test_fn>>& tests);
void test_report(const std::string& name, size_t ran, size_t failed);
#define TEST(expr, msg) do { if(!(expr)) { ++fails; std::cout << msg; } while(0)