projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72f7f6
)
Fix typo in StringTest
author
Michael Lee
<mzlee@fb.com>
Thu, 11 Feb 2016 04:04:28 +0000
(20:04 -0800)
committer
facebook-github-bot-4
<folly-bot@fb.com>
Thu, 11 Feb 2016 04:20:27 +0000
(20:20 -0800)
Summary: It should be UL instead of ULL.
Reviewed By: siyengar
Differential Revision:
D2926005
fb-gh-sync-id:
d2387eb601c50d9820907c831277aa6f8e938cbb
shipit-source-id:
d2387eb601c50d9820907c831277aa6f8e938cbb
folly/test/StringTest.cpp
patch
|
blob
|
history
diff --git
a/folly/test/StringTest.cpp
b/folly/test/StringTest.cpp
index 4b6523e859b34827e684ed6603315ea8a458fa14..a776b88a098215b251d51436d6f8768e7101f083 100644
(file)
--- a/
folly/test/StringTest.cpp
+++ b/
folly/test/StringTest.cpp
@@
-33,7
+33,7
@@
TEST(StringPrintf, BasicTest) {
TEST(StringPrintf, NumericFormats) {
EXPECT_EQ("12", stringPrintf("%d", 12));
- EXPECT_EQ("2000000000", stringPrintf("%ld", 2000000000UL
L
));
+ EXPECT_EQ("2000000000", stringPrintf("%ld", 2000000000UL));
EXPECT_EQ("2000000000", stringPrintf("%ld", 2000000000L));
EXPECT_EQ("-2000000000", stringPrintf("%ld", -2000000000L));
EXPECT_EQ("5000000000", stringPrintf("%lld", 5000000000ULL));