From 81c43dca6a90323acce5345fb7f9839b60ccc14a Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 7 Dec 2016 16:51:15 +0100 Subject: [PATCH] :green_heart: more AppVeyor fixes --- test/src/unit-msgpack.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/unit-msgpack.cpp b/test/src/unit-msgpack.cpp index e55be1a6..2bd1fb75 100644 --- a/test/src/unit-msgpack.cpp +++ b/test/src/unit-msgpack.cpp @@ -269,10 +269,10 @@ TEST_CASE("MessagePack") SECTION("-9223372036854775808..-2147483649 (int 64)") { - for (int64_t i : - { - -9223372036854775807 - 1, -2147483649 - }) + std::vector numbers; + numbers.push_back(-9223372036854775807-1); + numbers.push_back(-2147483649); + for (auto i : numbers) { CAPTURE(i);