summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorElias Sjögreen <eliassjogreen1@gmail.com>2021-09-20 11:38:28 -0700
committerBert Belder <bertbelder@gmail.com>2021-09-20 15:42:54 -0700
commit60b68e63f1045a36496257912ef4f32e716a2440 (patch)
treed16c27281fb8389f5f8d179b46553d578910ffd7 /cli/tests
parent7c9c9e5c8389b0a052bf3f953625c4f09cb67eb7 (diff)
test(ext/ffi): add tests for different parameter and return types (#12158)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/unit/ffi_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/ffi_test.ts b/cli/tests/unit/ffi_test.ts
index ab25df699..07ec4003f 100644
--- a/cli/tests/unit/ffi_test.ts
+++ b/cli/tests/unit/ffi_test.ts
@@ -2,7 +2,7 @@
import { assertThrows, unitTest } from "./test_util.ts";
-unitTest(function dlopenInvalidArguments() {
+unitTest({ perms: { ffi: true } }, function dlopenInvalidArguments() {
const filename = "/usr/lib/libc.so.6";
assertThrows(() => {
// @ts-expect-error: ForeignFunction cannot be null