From 2d0fe4c657aa8578f5f4a02e9c56e25009af8883 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 6 Oct 2015 20:54:23 -0700 Subject: [PATCH] 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 --- test/addons/buffer-free-callback/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/addons/buffer-free-callback/test.js b/test/addons/buffer-free-callback/test.js index 14bc350738d68c..b95f171de2467e 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();