From 27f1f7e81d920600c47df0d85b5ab6a2d6c6fc16 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 11 Aug 2016 14:17:31 -0700 Subject: [PATCH] Use explicitly sized integers in the Conv test Summary: Because the tests are explicitly dependent on the size of these types, and `long` is a different size on Windows. Reviewed By: yfeldblum Differential Revision: D3704488 fbshipit-source-id: e15e95242c5e9c84165a50cfd2c3bc6e0d2e0c49 --- folly/test/ConvTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/folly/test/ConvTest.cpp b/folly/test/ConvTest.cpp index 42612818..0ac0ed5a 100644 --- a/folly/test/ConvTest.cpp +++ b/folly/test/ConvTest.cpp @@ -226,8 +226,8 @@ void test128Bit2String() { #endif TEST(Conv, Integral2String) { - testIntegral2String(); - testIntegral2String(); + testIntegral2String(); + testIntegral2String(); #if FOLLY_HAVE_INT128_T test128Bit2String(); @@ -423,9 +423,9 @@ void testString2Integral() { } TEST(Conv, String2Integral) { - testString2Integral(); - testString2Integral(); - testString2Integral(); + testString2Integral(); + testString2Integral(); + testString2Integral(); // Testing the behavior of the StringPiece* API // StringPiece* normally parses as much valid data as it can, -- 2.34.1