Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: sfan5 <[email protected]>
  • Loading branch information
y5nw and sfan5 authored Feb 18, 2025
1 parent efccdf7 commit 0148df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion games/devtest/mods/unittests/async_env.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions src/script/lua_api/l_async.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 0148df5

Please sign in to comment.