From 408f5be83407223cb0963049a1cf75b4961c55fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 10 Oct 2023 16:30:07 +0900 Subject: [PATCH] Some missing assert->with conversions --- test/language/import/import-attributes/json-idempotency.js | 2 +- .../import-attributes/import-attribute-newlines.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/language/import/import-attributes/json-idempotency.js b/test/language/import/import-attributes/json-idempotency.js index dfd221021c7..e2c1b8e9d9a 100644 --- a/test/language/import/import-attributes/json-idempotency.js +++ b/test/language/import/import-attributes/json-idempotency.js @@ -14,7 +14,7 @@ import './json-idempotency-indirect_FIXTURE.js'; assert.sameValue(viaStaticImport1, viaStaticImport2); assert.sameValue(globalThis.viaSecondModule, viaStaticImport1); -import('./json-idempotency_FIXTURE.json', { assert: { type: 'json' } }) +import('./json-idempotency_FIXTURE.json', { with: { type: 'json' } }) .then(function(viaDynamicImport) { assert.sameValue(viaDynamicImport.default, viaStaticImport1); }) diff --git a/test/language/module-code/import-attributes/import-attribute-newlines.js b/test/language/module-code/import-attributes/import-attribute-newlines.js index dd8065194e6..a6bfdfb1caf 100644 --- a/test/language/module-code/import-attributes/import-attribute-newlines.js +++ b/test/language/module-code/import-attributes/import-attribute-newlines.js @@ -33,7 +33,7 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-attribute-1_FIXTURE.js' assert +import x from './import-attribute-1_FIXTURE.js' with 

{ @@ -44,7 +44,7 @@ import x from './import-attribute-1_FIXTURE.js' assert 

'' 

}; -import './import-attribute-2_FIXTURE.js' assert +import './import-attribute-2_FIXTURE.js' with 

{ @@ -55,7 +55,7 @@ import './import-attribute-2_FIXTURE.js' assert 

'' 

}; -export * from './import-attribute-3_FIXTURE.js' assert +export * from './import-attribute-3_FIXTURE.js' with 

{