From 989377d62d7af88a40c1a3e750af6d9643973aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Mon, 25 Sep 2023 08:28:23 +0200 Subject: [PATCH] Fix import assertions tests - Correct file paths in "ensure-linking-error_FIXTURE.js" - Remove no longer valid assertion in "import-assertion-empty.js". See also #3919. --- .../import-assertions/ensure-linking-error_FIXTURE.js | 2 +- .../module-code/import-assertions/import-assertion-empty.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/language/module-code/import-assertions/ensure-linking-error_FIXTURE.js b/test/language/module-code/import-assertions/ensure-linking-error_FIXTURE.js index 7ef1588e3e..e1eebf9cf2 100644 --- a/test/language/module-code/import-assertions/ensure-linking-error_FIXTURE.js +++ b/test/language/module-code/import-assertions/ensure-linking-error_FIXTURE.js @@ -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"; diff --git a/test/language/module-code/import-assertions/import-assertion-empty.js b/test/language/module-code/import-assertions/import-assertion-empty.js index c01c3b7785..11ba46ac7c 100644 --- a/test/language/module-code/import-assertions/import-assertion-empty.js +++ b/test/language/module-code/import-assertions/import-assertion-empty.js @@ -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);