diff options
author | ecyrbe <ecyrbe@gmail.com> | 2020-02-24 14:35:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 08:35:45 -0500 |
commit | fb08cf7005c9dc781d51c7d02ae06060e44d32a3 (patch) | |
tree | 2a74abd57187a1b0015fd1d1873c10399e60fccd /std/node/os_test.ts | |
parent | fe9ac35a650dfeea9168fc1cbbbf323b5689fc3b (diff) |
Add missing node os.release() implementation (#4065)
Diffstat (limited to 'std/node/os_test.ts')
-rw-r--r-- | std/node/os_test.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/std/node/os_test.ts b/std/node/os_test.ts index 2ceff79a4..6ef123575 100644 --- a/std/node/os_test.ts +++ b/std/node/os_test.ts @@ -31,6 +31,13 @@ test({ }); test({ + name: "release is a string", + fn() { + assertEquals(typeof os.release(), "string"); + } +}); + +test({ name: "getPriority(): PID must be a 32 bit integer", fn() { assertThrows( @@ -218,13 +225,6 @@ test({ ); assertThrows( () => { - os.release(); - }, - Error, - "Not implemented" - ); - assertThrows( - () => { os.setPriority(0); }, Error, |