Skip to content

Commit 7c80439

Browse files
panvaMoLow
authored andcommitted
test: use appropriate usages for a negative import test
Refs: nodejs#47864 PR-URL: nodejs#47878 Refs: nodejs#47864 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent de1338d commit 7c80439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-webcrypto-export-import-cfrg.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ async function testImportJwk({ name, publicUsages, privateUsages }, extractable)
317317
{ ...jwk, crv },
318318
{ name },
319319
extractable,
320-
publicUsages),
320+
privateUsages),
321321
{ message: 'JWK "crv" Parameter and algorithm name mismatch' });
322322
}
323323

0 commit comments

Comments
 (0)