Skip to content

Commit c9ed49d

Browse files
bnoordhuisMylesBorins
authored andcommitted
test: run cpplint on files in test/cctest
Enable cpplint for files in test/cctest. Fix up the style issues it reports. PR-URL: #9787 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent a858e98 commit c9ed49d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,8 @@ CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \
679679
src/*.h \
680680
test/addons/*/*.cc \
681681
test/addons/*/*.h \
682+
test/cctest/*.cc \
683+
test/cctest/*.h \
682684
tools/icu/*.cc \
683685
tools/icu/*.h \
684686
))

test/cctest/util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ TEST(UtilTest, Calloc) {
8787
EXPECT_NE(nullptr, Calloc(1, 0));
8888
EXPECT_NE(nullptr, Calloc(0, 1));
8989
EXPECT_NE(nullptr, Calloc(1, 1));
90-
}
90+
}

0 commit comments

Comments
 (0)