diff options
Diffstat (limited to 'os/test.ts')
-rw-r--r-- | os/test.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os/test.ts b/os/test.ts new file mode 100644 index 000000000..f1993f22b --- /dev/null +++ b/os/test.ts @@ -0,0 +1,8 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +import { test } from "../testing/mod.ts"; +import { assertNotEquals } from "../testing/asserts.ts"; +import { userHomeDir } from "./mod.ts"; + +test(function testUserHomeDir(): void { + assertNotEquals(userHomeDir(), ""); +}); |