Make Synchronized tests work with gtest-1.7
authorEric Niebler <eniebler@fb.com>
Fri, 15 Jul 2016 22:42:01 +0000 (15:42 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Fri, 15 Jul 2016 22:53:25 +0000 (15:53 -0700)
commit6bc33db2cdeeb1e26e32a3f89a061dbdb4121674
tree2e868a34519dc4410f576f90fe83f305feebe96d
parentd0a6ecc6823908af8ed78e25ed3ca0f9f14e27c5
Make Synchronized tests work with gtest-1.7

Summary: Gtest-1.7's ASSERT macros don't work with types with explicit conversions to bool, so do the cast for it.

Reviewed By: yfeldblum

Differential Revision: D3570782

fbshipit-source-id: 885a1022675e63afca00219c5b9de3791742207f
folly/test/SynchronizedTestLib-inl.h