diff --git a/Manual_tests.md b/Manual_tests.md index fa4ef9f..8722a34 100644 --- a/Manual_tests.md +++ b/Manual_tests.md @@ -8,9 +8,9 @@ Initializing settings: - from defaults - `default_map` absent/present - - run with an untested version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key. + - run with an untested version of LÖVE. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key. - run with a LÖVE v12 release candidate. No errors; it is a supported version. All tests pass. - - create a couple of spuriously failing tests. Run with an untested version. Error message includes message about untested version. + - create a couple of spuriously failing tests. Run with an untested version of LÖVE. Error message includes message about untested version. Code loading: * run love with directory; text editor runs diff --git a/main.lua b/main.lua index e42f61a..8eaabda 100644 --- a/main.lua +++ b/main.lua @@ -261,3 +261,8 @@ for handler_name in pairs(love.handlers) do end end end + +function warning_message() + assert(type(Current_app) == 'table') + return Current_app.message +end