aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/shared.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--unit_tests/shared.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/unit_tests/shared.h b/unit_tests/shared.h
index 8a84a94..b884df0 100644
--- a/unit_tests/shared.h
+++ b/unit_tests/shared.h
@@ -66,8 +66,9 @@ class LuaState
66enum class [[nodiscard]] TestType 66enum class [[nodiscard]] TestType
67{ 67{
68 AssertNoLuaError, 68 AssertNoLuaError,
69 AssertNoThrow, 69#if LUA_VERSION_NUM >= 504 // warnings are a Lua 5.4 feature
70 AssertThrows, 70 AssertWarns,
71#endif // LUA_VERSION_NUM
71}; 72};
72 73
73struct FileRunnerParam 74struct FileRunnerParam