diff options
Diffstat (limited to 'unit_tests/shared.h')
-rw-r--r-- | unit_tests/shared.h | 11 |
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 | ||
71 | namespace 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 | |||
70 | class FileRunner : private LuaState | 81 | class FileRunner : private LuaState |
71 | { | 82 | { |
72 | private: | 83 | private: |