forked from TartanLlama/expected
Fix tests
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
REQUIRE(e);
|
REQUIRE(e);
|
||||||
|
|
||||||
TEST_CASE("Map extensions", "[extensions.map]") {
|
TEST_CASE("Map extensions", "[extensions.map]") {
|
||||||
auto mul2 = [](auto a) { return a * 2; };
|
auto mul2 = [](int a) { return a * 2; };
|
||||||
auto ret_void = [](auto a) {};
|
auto ret_void = [](int a) {};
|
||||||
|
|
||||||
{
|
{
|
||||||
tl::expected<int, int> e = 21;
|
tl::expected<int, int> e = 21;
|
||||||
|
Reference in New Issue
Block a user