From c9ed49da6e6cda0ee73c3b835c5eadfc9441a999 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 24 Nov 2016 14:49:05 +0100 Subject: [PATCH] test: run cpplint on files in test/cctest Enable cpplint for files in test/cctest. Fix up the style issues it reports. PR-URL: https://github.com/nodejs/node/pull/9787 Reviewed-By: Colin Ihrig Reviewed-By: Evan Lucas Reviewed-By: Michael Dawson Reviewed-By: Sakthipriyan Vairamani --- Makefile | 2 ++ test/cctest/util.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d2ccffd1225fc8..38ca4fdb174896 100644 --- a/Makefile +++ b/Makefile @@ -679,6 +679,8 @@ CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \ src/*.h \ test/addons/*/*.cc \ test/addons/*/*.h \ + test/cctest/*.cc \ + test/cctest/*.h \ tools/icu/*.cc \ tools/icu/*.h \ )) diff --git a/test/cctest/util.cc b/test/cctest/util.cc index 1f1584fa72124a..7f967871975dd5 100644 --- a/test/cctest/util.cc +++ b/test/cctest/util.cc @@ -87,4 +87,4 @@ TEST(UtilTest, Calloc) { EXPECT_NE(nullptr, Calloc(1, 0)); EXPECT_NE(nullptr, Calloc(0, 1)); EXPECT_NE(nullptr, Calloc(1, 1)); -} \ No newline at end of file +}