From 3a7010dc7f24cbdce2d0ca6293291499eef5e78c Mon Sep 17 00:00:00 2001 From: y5nw <37980625+y5nw@users.noreply.github.com> Date: Tue, 18 Feb 2025 07:20:42 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: sfan5 --- games/devtest/mods/unittests/async_env.lua | 2 +- src/script/lua_api/l_async.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/games/devtest/mods/unittests/async_env.lua b/games/devtest/mods/unittests/async_env.lua index dc595ef88..d17cef1ed 100644 --- a/games/devtest/mods/unittests/async_env.lua +++ b/games/devtest/mods/unittests/async_env.lua @@ -218,7 +218,7 @@ local function test_async_job_replacement(cb) end local job = core.handle_async(function() end, function() - return cb("Canceled async job run") + return cb("Canceled async job ran") end) if not job:cancel() then return cb("AsyncJob:cancel sanity check failed") diff --git a/src/script/lua_api/l_async.cpp b/src/script/lua_api/l_async.cpp index 6291e9f8d..00c5e0eb4 100644 --- a/src/script/lua_api/l_async.cpp +++ b/src/script/lua_api/l_async.cpp @@ -1,5 +1,5 @@ -// Minetest -// SPDX-License-Identifier: LGPL-2.1-or-later/ +// Luanti +// SPDX-License-Identifier: LGPL-2.1-or-later #include "lua_api/l_internal.h" #include "lua_api/l_async.h"