projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prefer bool literals rather than integers in boolean contexts
[folly.git]
/
folly
/
test
/
FBStringTest.cpp
diff --git
a/folly/test/FBStringTest.cpp
b/folly/test/FBStringTest.cpp
index 08e22608078df07217b1bb0da89120ffe40e2da7..9f51947af6c855bc88f92f749818712523b18cbf 100644
(file)
--- a/
folly/test/FBStringTest.cpp
+++ b/
folly/test/FBStringTest.cpp
@@
-1018,7
+1018,7
@@
TEST(FBString, testAllClauses) {
void(*f_fbstring)(folly::fbstring&),
void(*f_wfbstring)(folly::basic_fbstring<wchar_t>&)) {
do {
- if (
1
) {
+ if (
true
) {
} else {
EXPECT_TRUE(1) << "Testing clause " << clause;
}