diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-11-23 17:45:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-23 17:45:18 +0100 |
| commit | bedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch) | |
| tree | b4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/ffi_test.ts | |
| parent | 51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff) | |
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/ffi_test.ts')
| -rw-r--r-- | cli/tests/unit/ffi_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/ffi_test.ts b/cli/tests/unit/ffi_test.ts index 497435ab9..fe1ab202f 100644 --- a/cli/tests/unit/ffi_test.ts +++ b/cli/tests/unit/ffi_test.ts @@ -1,8 +1,8 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -import { assertThrows, unitTest } from "./test_util.ts"; +import { assertThrows } from "./test_util.ts"; -unitTest({ permissions: { ffi: true } }, function dlopenInvalidArguments() { +Deno.test({ permissions: { ffi: true } }, function dlopenInvalidArguments() { const filename = "/usr/lib/libc.so.6"; assertThrows(() => { // @ts-expect-error: ForeignFunction cannot be null |
