Fix a few exception_wrapper tests under MSVC
authorChristopher Dykes <cdykes@fb.com>
Sun, 18 Jun 2017 18:14:46 +0000 (11:14 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 18 Jun 2017 18:20:34 +0000 (11:20 -0700)
commitdd707e05ecc7c3a9271bb8d94d0a2ad2ef27821a
tree9c93a8e41a3e8d580d8f57899d49bdfa78c78c83
parent2ce93cfb8e2272825107b9d44fe31a587173b6b5
Fix a few exception_wrapper tests under MSVC

Summary: They were incorrectly comparing against string literals rather than the actual demangled names. MSVC includes `class/struct` as part of the mangled name, so they also appear in the demangled name, in contrast to GCC/Clang, which don't.

Reviewed By: yfeldblum

Differential Revision: D5271087

fbshipit-source-id: 41fa0cebe098b1b935e1f8b1af5882c412cf6254
folly/test/ExceptionWrapperTest.cpp