Make Core.size test portable
authorAlexander Shaposhnikov <alexshap@fb.com>
Thu, 6 Aug 2015 02:25:51 +0000 (19:25 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Thu, 6 Aug 2015 03:22:16 +0000 (20:22 -0700)
commitd7eea4933bb2273aac4f687869f2674ada3869f2
tree95ffe6dbfa28861d02b3280fa5940b1c1616d829
parentc5992522f6c82653c5cfaca69ca3e1cff9995310
Make Core.size test portable

Summary: Add a golden struct for checking the size of Core.
It makes this test pass on OSX
(now failing because of the different size of std::function).

Reviewed By: @​hannesr

Differential Revision: D2315429
folly/futures/test/CoreTest.cpp