summaryrefslogtreecommitdiff
path: root/test_ffi/tests
diff options
context:
space:
mode:
authorDjDeveloper <43033058+DjDeveloperr@users.noreply.github.com>2022-01-11 15:01:52 +0530
committerGitHub <noreply@github.com>2022-01-11 15:01:52 +0530
commita7ea93b978d366a214a9fdad085d1c9a1a0c3abf (patch)
tree5235de63bebf5097bdb681e9610e31477aab69b8 /test_ffi/tests
parent5680d33dd91af30d085ecd991e74dd56e367e8ea (diff)
fix(ext/ffi): `pointer` type can accept `null` (#13335)
Diffstat (limited to 'test_ffi/tests')
-rw-r--r--test_ffi/tests/ffi_types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_ffi/tests/ffi_types.ts b/test_ffi/tests/ffi_types.ts
index 0066e362c..e10cfb894 100644
--- a/test_ffi/tests/ffi_types.ts
+++ b/test_ffi/tests/ffi_types.ts
@@ -86,7 +86,7 @@ remote.symbols.method14(null);
remote.symbols.method14(0);
// @ts-expect-error: Invalid argument
-remote.symbols.method15(null);
+remote.symbols.method15(0);
remote.symbols.method15(new Uint16Array(1));
remote.symbols.method15({} as Deno.UnsafePointer);