diff options
author | Chris Knight <cknight1234@gmail.com> | 2020-01-30 23:57:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 18:57:29 -0500 |
commit | 3de9540ac6ae5ce051ccd9be69c1d6ef64663a26 (patch) | |
tree | 85adac0044d4174540abeb1166e23933a82a63d1 /std/node/os_test.ts | |
parent | de5c099b47bd1d2e528f1a10179f130a02f26f86 (diff) |
feat(std/node) Endianness (#3833)
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 88f0113ec..65a9ef374 100644 --- a/std/node/os_test.ts +++ b/std/node/os_test.ts @@ -154,6 +154,13 @@ test({ } }); +test({ + name: "Endianness is determined", + fn() { + assert(["LE", "BE"].includes(os.endianness())); + } +}); + // Method is currently implemented correctly for windows but not for any other os test({ name: "Load average is an array of 3 numbers", @@ -189,13 +196,6 @@ test({ ); assertThrows( () => { - os.endianness(); - }, - Error, - "Not implemented" - ); - assertThrows( - () => { os.freemem(); }, Error, |