From 60b68e63f1045a36496257912ef4f32e716a2440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20Sj=C3=B6green?= Date: Mon, 20 Sep 2021 11:38:28 -0700 Subject: test(ext/ffi): add tests for different parameter and return types (#12158) --- cli/tests/unit/ffi_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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 -- cgit v1.2.3