Skip to content

Commit

Permalink
Working on old nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Feb 9, 2018
1 parent fa8729c commit b4a83e0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 54 deletions.
2 changes: 2 additions & 0 deletions build/build.js
Expand Up @@ -149,6 +149,8 @@ pump(
file !== 'test-stream-base-no-abort.js' &&
file !== 'test-stream-preprocess.js' &&
file !== 'test-stream-inheritance.js' &&
file !== 'test-stream-base-prototype-accessors.js' &&
file !== 'test-stream-base-prototype-accessors-enumerability.js' &&
file !== 'test-stream-base-typechecking.js') {
processTestFile(file)
}
Expand Down
6 changes: 3 additions & 3 deletions build/test-replacements.js
Expand Up @@ -194,9 +194,9 @@ module.exports['common.js'] = [
'}).enable();*/'
],
[
/const async_wrap = process\.binding\('async_wrap'\);\n.*var kCheck = async_wrap\.constants\.kCheck;/gm,
'// const async_wrap = process.binding(\'async_wrap\');' +
' // var kCheck = async_wrap.constants.kCheck;'
/(?:var|const) async_wrap = process\.binding\('async_wrap'\);\n.*(?:var|const) (?:{ )?kCheck(?: })? = async_wrap\.constants(?:\.kCheck)?;/gm,
'// const async_wrap = process.binding(\'async_wrap\');\n' +
' // const kCheck = async_wrap.constants.kCheck;'
],
[
/async_wrap\.async_hook_fields\[kCheck\] \+= 1;/,
Expand Down
4 changes: 2 additions & 2 deletions test/common/index.js
Expand Up @@ -105,8 +105,8 @@ exports.projectDir = path.resolve(__dirname, '..', '..');

// Always enable async_hooks checks in tests
{
var async_wrap = process.binding('async_wrap');
var kCheck = async_wrap.constants.kCheck;
// const async_wrap = process.binding('async_wrap');
// const kCheck = async_wrap.constants.kCheck;
// async_wrap.async_hook_fields[kCheck] += 1;

exports.revert_force_async_hooks_checks = function () {
Expand Down

This file was deleted.

29 changes: 0 additions & 29 deletions test/parallel/test-stream-base-prototype-accessors.js

This file was deleted.

0 comments on commit b4a83e0

Please sign in to comment.