Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit931d02f

Browse files
nicolo-ribaudorichardlau
authored andcommitted
test, v8: fix wrong import attributes test
PR-URL:#52184Refs:#51136Refs:#52165 (comment)Reviewed-By: Richard Lau <rlau@redhat.com>Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent812b126 commit931d02f

6 files changed

+10
-4
lines changed

‎deps/v8/test/mjsunit/harmony/modules-import-assertions-3.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
// Flags: --harmony-import-assertions
66

7-
import{life}from'modules-skip-imports-json-1.mjs';
7+
import{life}from'modules-skip-imports-json-assert-1.mjs';
88

99
assertEquals(42,life());

‎deps/v8/test/mjsunit/harmony/modules-import-assertions-dynamic-5.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Flags: --allow-natives-syntax --harmony-import-assertions
66

77
varlife;
8-
import('modules-skip-imports-json-1.mjs',).then(namespace=>life=namespace.life());
8+
import('modules-skip-imports-json-assert-1.mjs',).then(namespace=>life=namespace.life());
99

1010
%PerformMicrotaskCheckpoint();
1111

‎deps/v8/test/mjsunit/harmony/modules-import-attributes-3.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
// Flags: --harmony-import-attributes
66

7-
import{life}from'modules-skip-imports-json-1.mjs';
7+
import{life}from'modules-skip-imports-json-with-1.mjs';
88

99
assertEquals(42,life());

‎deps/v8/test/mjsunit/harmony/modules-import-attributes-dynamic-5.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Flags: --allow-natives-syntax --harmony-import-attributes
66

77
varlife;
8-
import('modules-skip-imports-json-1.mjs',).then(namespace=>life=namespace.life());
8+
import('modules-skip-imports-json-with-1.mjs',).then(namespace=>life=namespace.life());
99

1010
%PerformMicrotaskCheckpoint();
1111

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright 2021 the V8 project authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
importjsonfrom"modules-skip-1.json"with{type:"json"};
6+
exportfunctionlife(){returnjson.life;}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp