From: Rich Trott Date: Wed, 7 Oct 2015 03:54:23 +0000 (-0700) Subject: test: linting for buffer-free-callback test X-Git-Tag: v4.2.0~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d0fe4c657aa8578f5f4a02e9c56e25009af8883;p=platform%2Fupstream%2Fnodejs.git test: linting for buffer-free-callback test Test added in d1f24044 does not pass linting rule added in 3de353b5. Fixed in this commit. `common` module required in all tests except those that intentionally leak variables. PR-URL: https://github.com/nodejs/node/pull/3230 Fixes: https://github.com/nodejs/node/issues/3229 Reviewed-By: Fedor Indutny Reviewed-By: Jeremiah Senkpiel --- diff --git a/test/addons/buffer-free-callback/test.js b/test/addons/buffer-free-callback/test.js index 14bc350..b95f171 100644 --- a/test/addons/buffer-free-callback/test.js +++ b/test/addons/buffer-free-callback/test.js @@ -1,6 +1,7 @@ 'use strict'; // Flags: --expose-gc +require('../../common'); var assert = require('assert'); var binding = require('./build/Release/binding'); var buf = binding.alloc();