test: linting for buffer-free-callback test
authorRich Trott <rtrott@gmail.com>
Wed, 7 Oct 2015 03:54:23 +0000 (20:54 -0700)
committerJames M Snell <jasnell@gmail.com>
Thu, 8 Oct 2015 03:39:17 +0000 (20:39 -0700)
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 <fedor.indutny@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
test/addons/buffer-free-callback/test.js

index 14bc350..b95f171 100644 (file)
@@ -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();