From 90f88ebff2f1d33483d988a81499eab5364e5c3c Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Thu, 2 Nov 2017 09:22:58 +0000 Subject: [PATCH] Fix tests --- tests/extensions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/extensions.cpp b/tests/extensions.cpp index 45af7cb..b2c552e 100644 --- a/tests/extensions.cpp +++ b/tests/extensions.cpp @@ -133,8 +133,8 @@ TEST_CASE("Map extensions", "[extensions.map]") { } TEST_CASE("Map error extensions", "[extensions.map_error]") { - auto mul2 = [](auto a) { return a * 2; }; - auto ret_void = [](auto a) {}; + auto mul2 = [](int a) { return a * 2; }; + auto ret_void = [](int a) {}; { tl::expected e = 21; @@ -194,8 +194,8 @@ TEST_CASE("Map error extensions", "[extensions.map_error]") { } TEST_CASE("And then extensions", "[extensions.and_then]") { - auto succeed = [](auto a) { return tl::expected(21 * 2); }; - auto fail = [](auto a) { return tl::expected(tl::unexpect, 17); }; + auto succeed = [](int a) { return tl::expected(21 * 2); }; + auto fail = [](int a) { return tl::expected(tl::unexpect, 17); }; { tl::expected e = 21;