Skip to content

Commit

Permalink
Some missing assert->with conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 26, 2023
1 parent 61f7d78 commit b13654a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/language/import/import-attributes/json-idempotency.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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



{

Expand All @@ -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


{
Expand All @@ -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


{
Expand Down

0 comments on commit b13654a

Please sign in to comment.