Commit d0bddaa0 authored by Chao Yang's avatar Chao Yang Committed by Facebook Github Bot

folly::to test for trailing space

Summary: The test is intended to verify the handling of trailing space.

Reviewed By: yfeldblum

Differential Revision: D7761229

fbshipit-source-id: 0196f57e6c76562562ef1b724f6dff1c7bfd5d81
parent bdb012ae
...@@ -801,7 +801,7 @@ void testStr2Bool() { ...@@ -801,7 +801,7 @@ void testStr2Bool() {
EXPECT_FALSE(to<bool>(Src("no"))); EXPECT_FALSE(to<bool>(Src("no")));
EXPECT_FALSE(to<bool>(Src("false"))); EXPECT_FALSE(to<bool>(Src("false")));
EXPECT_FALSE(to<bool>(Src("False"))); EXPECT_FALSE(to<bool>(Src("False")));
EXPECT_FALSE(to<bool>(Src(" fAlSe" ))); EXPECT_FALSE(to<bool>(Src(" fAlSe ")));
EXPECT_FALSE(to<bool>(Src("F"))); EXPECT_FALSE(to<bool>(Src("F")));
EXPECT_FALSE(to<bool>(Src("off"))); EXPECT_FALSE(to<bool>(Src("off")));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment