Skip to content

Commit 5cf3a03

Browse files
authored
Update engine262.js
1 parent 09a20f3 commit 5cf3a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engines/engine262.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ class Engine262Installer extends Installer {
3434
}
3535

3636
async install() {
37-
const bin = path.join(this.installPath, 'package', 'bin', 'engine262.js');
37+
const bin = path.join(this.installPath, 'package', 'lib', 'engine262.js');
3838
this.binPath = await this.registerBinarySymlink(bin, 'engine262');
3939
}
4040

4141
async test() {
42-
const program = 'print("42");';
42+
const program = 'console.log("42");';
4343
const output = '42';
4444

4545
assert.strictEqual(

0 commit comments

Comments
 (0)