Skip to content

Commit 8718135

Browse files
RafaelGSSruyadorno
authored andcommitted
test: use --permission over --experimental-permission
PR-URL: #56239 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a11ac1c commit 8718135

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-permission-sqlite-load-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const db = new sqlite.DatabaseSync(':memory:', { allowExtension: true });
88
db.loadExtension('nonexistent');`.replace(/\n/g, ' ');
99

1010
childProcess.exec(
11-
`${process.execPath} --experimental-permission -e "${code}"`,
11+
`${process.execPath} --permission -e "${code}"`,
1212
{},
1313
common.mustCall((err, _, stderr) => {
1414
assert.strictEqual(err.code, 1);

test/sqlite/test-sqlite-extensions.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test('should throw error if permission is enabled', async () => {
9393
const db = new sqlite.DatabaseSync(':memory:', { allowExtension: true });`;
9494
return new Promise((resolve) => {
9595
childProcess.exec(
96-
`${cmd} --experimental-permission -e "${code}"`,
96+
`${cmd} --permission -e "${code}"`,
9797
{
9898
...opts,
9999
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy