diff --git a/tests/test_std.js b/tests/test_std.js index d5d319ec..362606eb 100644 --- a/tests/test_std.js +++ b/tests/test_std.js @@ -208,9 +208,9 @@ function test_os() [buf, err] = os.readlink(link_path); assert(err, 0); assert(buf, fname); - } - assert(os.remove(link_path) === 0); + assert(os.remove(link_path) === 0); + } [buf, err] = os.getcwd(); assert(err, 0); @@ -281,6 +281,6 @@ test_file2(); test_getline(); test_popen(); test_os(); -test_os_exec(); +!isWin && test_os_exec(); test_timer(); test_ext_json();