aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/shared.h')
-rw-r--r--unit_tests/shared.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/unit_tests/shared.h b/unit_tests/shared.h
index 2a32269..2e319e4 100644
--- a/unit_tests/shared.h
+++ b/unit_tests/shared.h
@@ -67,6 +67,17 @@ struct FileRunnerParam
67 TestType test; 67 TestType test;
68}; 68};
69 69
70// Define a specialization for FileRunnerParam in Catch::Detail::stringify
71namespace Catch {
72 namespace Detail {
73 template <>
74 inline std::string stringify(FileRunnerParam const& param_)
75 {
76 return std::string{ param_.script };
77 }
78 } // namespace Detail
79} // namespace Catch
80
70class FileRunner : private LuaState 81class FileRunner : private LuaState
71{ 82{
72 private: 83 private: