summaryrefslogtreecommitdiff
path: root/std/node/os_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/os_test.ts')
-rw-r--r--std/node/os_test.ts14
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,