diff options
| author | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
|---|---|---|
| committer | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
| commit | f75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch) | |
| tree | 278e00b17c8f5558df1c1a21f1204078ea62a58f /tests/modules | |
| parent | ca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff) | |
Fix grammar
Diffstat (limited to 'tests/modules')
| -rw-r--r-- | tests/modules/process/process_autoexit.lua | 2 | ||||
| -rw-r--r-- | tests/modules/process/process_killed.lua | 2 | ||||
| -rw-r--r-- | tests/modules/string/serialize/test.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/modules/process/process_autoexit.lua b/tests/modules/process/process_autoexit.lua index 048e47c06..c7d56a286 100644 --- a/tests/modules/process/process_autoexit.lua +++ b/tests/modules/process/process_autoexit.lua @@ -9,6 +9,6 @@ function main(cmd) end) end -- check processes status after exiting - -- we need terminate all unclosed processes automatically after parent process is exited + -- we need to terminate all unclosed processes automatically after parent process is exited -- ps aux | grep sleep end diff --git a/tests/modules/process/process_killed.lua b/tests/modules/process/process_killed.lua index ed412e780..5d7045647 100644 --- a/tests/modules/process/process_killed.lua +++ b/tests/modules/process/process_killed.lua @@ -7,7 +7,7 @@ function main(cmd) -- @note we need test xx.bat cmd on windows local proc = process.open(cmd or "xmake l os.sleep 60000") print("%s: wait ..", proc) - -- we need terminate all unclosed processes automatically after parent process is exited after do ctrl-c + -- we need to terminate all unclosed processes automatically after parent process is exited after do ctrl-c proc:wait(-1) print("%s: wait ok", proc) proc:close() diff --git a/tests/modules/string/serialize/test.lua b/tests/modules/string/serialize/test.lua index dfbd01c09..47dbc776d 100644 --- a/tests/modules/string/serialize/test.lua +++ b/tests/modules/string/serialize/test.lua @@ -63,7 +63,7 @@ function test_function(t) function f() return x end -- fenv will restore if xmake.luajit() then - -- TODO we need fix it for lua backend + -- TODO we need to fix it for lua backend t:are_same(roundtrip(f)(), x) end |
