test that _sp includes nul bytes
authorChad Austin <chadaustin@fb.com>
Mon, 8 Jan 2018 19:12:18 +0000 (11:12 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 8 Jan 2018 19:15:36 +0000 (11:15 -0800)
commit3df176287c46e280f8d4be3b8dc1674fef8cdeb7
tree25f2e64c382be225899e6270cf00a1eee920bfda
parent5eda66501c6a6f2194b1a15a2f7f0e0625d86197
test that _sp includes nul bytes

Summary:
D6617812 wants to build a StringPiece from a literal with an
embedded nul. Add a test to verify that _sp is suitable for this use
case.

Reviewed By: yfeldblum

Differential Revision: D6651024

fbshipit-source-id: be4fb875762829fdb61c57fa72954fef286e9df0
folly/test/RangeTest.cpp