Skip to content

Commit

Permalink
Fix import assertions tests
Browse files Browse the repository at this point in the history
- Correct file paths in "ensure-linking-error_FIXTURE.js"
- Remove no longer valid assertion in "import-assertion-empty.js".

See also #3919.
  • Loading branch information
anba authored and ptomato committed Sep 25, 2023
1 parent 16fc2e5 commit 989377d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
// It can be used to assert that there is a linking error, which means
// that there are no parsing errors.

import { nonExistent } from "./import-assertion-ensure-resolution-error_FIXTURE.js";
import { nonExistent } from "./ensure-linking-error_FIXTURE.js";
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ import './import-assertion-2_FIXTURE.js' assert {};
export * from './import-assertion-3_FIXTURE.js' assert {};

assert.sameValue(x, 262.1);
assert.sameValue(globalThis.test262, 262.2);

0 comments on commit 989377d

Please sign in to comment.