test: use appropriate usages for a negative import test

Refs: #47864
PR-URL: https://github.com/nodejs/node/pull/47878
Refs: https://github.com/nodejs/node/issues/47864
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Filip Skokan authored and Michaël Zasso committed 2023-05-12 11:57:07 +02:00
1 parent 09fb74a7cc
commit 8f547afe5f
1 file changed
+1 -1
@@ -317,7 +317,7 @@ async function testImportJwk({ name, publicUsages, privateUsages }, extractable)
{ ...jwk, crv },
{ name },
extractable,
publicUsages),
privateUsages),
{ message: 'JWK "crv" Parameter and algorithm name mismatch' });
}