0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

test: code&learn var to let update

PR-URL: https://github.com/nodejs/node/pull/30436
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Nazar Malyy 2019-11-12 16:10:13 +00:00 committed by Gireesh Punathil
parent 0646eda4fc
commit a7ddf8c5d2

View File

@ -44,8 +44,8 @@ testMe._domain.on('error', function(reason) {
});
const testFile = [
'var top = function() {',
'var inner = {one:1};'
'let top = function() {',
'let inner = {one:1};'
];
const saveFileName = join(tmpdir.path, 'test.save.js');