test: lint addon tests
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 18 Aug 2015 18:29:10 +0000 (20:29 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 18 Aug 2015 19:27:43 +0000 (21:27 +0200)
commit8f4022e44b348119324ac36c49de190edbfe95e3
tree299d6dc4518d6243190a9df64ae0ec7a9155dea6
parent3ba9793d53b44ef44e995ec616301e144bc475a7
test: lint addon tests

Add files in test/addon to the `make cpplint` rule and fix up existing
style issues.  Tests scraped from doc/api/addon.md are filtered out
because those are predominantly for illustrative purposes.

PR-URL: https://github.com/nodejs/node/pull/2427
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Makefile
test/addons/async-hello-world/binding.cc
test/addons/at-exit/binding.cc
test/addons/hello-world-function-export/binding.cc
test/addons/hello-world/binding.cc