Skip to content

Commit

Permalink
test: run cpplint on files in test/cctest
Browse files Browse the repository at this point in the history
Enable cpplint for files in test/cctest.  Fix up the style issues it
reports.

PR-URL: #9787
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
bnoordhuis authored and MylesBorins committed Dec 20, 2016
1 parent a858e98 commit c9ed49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
))
Expand Down
2 changes: 1 addition & 1 deletion test/cctest/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit c9ed49d

Please sign in to comment.