summaryrefslogtreecommitdiff
path: root/cli/js/tests/os_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-03-29 04:03:49 +1100
committerGitHub <noreply@github.com>2020-03-28 13:03:49 -0400
commitbced52505f32d6cca4f944bb610a8a26767908a8 (patch)
treeda49a5df4b7bd6f8306248069228cd6bd0db1303 /cli/js/tests/os_test.ts
parent1397b8e0e7c85762e19d88fde103342bfa563360 (diff)
Update to Prettier 2 and use ES Private Fields (#4498)
Diffstat (limited to 'cli/js/tests/os_test.ts')
-rw-r--r--cli/js/tests/os_test.ts66
1 files changed, 33 insertions, 33 deletions
diff --git a/cli/js/tests/os_test.ts b/cli/js/tests/os_test.ts
index ef45d36fe..423cded50 100644
--- a/cli/js/tests/os_test.ts
+++ b/cli/js/tests/os_test.ts
@@ -4,7 +4,7 @@ import {
assertEquals,
assertNotEquals,
assertThrows,
- unitTest
+ unitTest,
} from "./test_util.ts";
unitTest({ perms: { env: true } }, function envSuccess(): void {
@@ -67,7 +67,7 @@ unitTest(
const proc = Deno.run({
cmd: [Deno.execPath(), "eval", src],
env: inputEnv,
- stdout: "piped"
+ stdout: "piped",
});
const status = await proc.status();
assertEquals(status.success, true);
@@ -134,121 +134,121 @@ unitTest({ perms: { env: true } }, function getDir(): void {
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "cache",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "executable",
runtime: [
{ os: "mac", shouldHaveValue: false },
{ os: "win", shouldHaveValue: false },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "data",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "data_local",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "audio",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "desktop",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "document",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "download",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "font",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: false },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "picture",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "public",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "template",
runtime: [
{ os: "mac", shouldHaveValue: false },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
+ { os: "linux", shouldHaveValue: false },
+ ],
},
{
kind: "tmp",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: true }
- ]
+ { os: "linux", shouldHaveValue: true },
+ ],
},
{
kind: "video",
runtime: [
{ os: "mac", shouldHaveValue: true },
{ os: "win", shouldHaveValue: true },
- { os: "linux", shouldHaveValue: false }
- ]
- }
+ { os: "linux", shouldHaveValue: false },
+ ],
+ },
];
for (const s of scenes) {