14 Commits

Author SHA1 Message Date
Sy Brand
3a13214ff1 Test transform and transform_error 2023-02-15 16:34:53 +00:00
Simon Truscott
2675ce3cd4 Fix warnings in test (#92)
* Convert tabs to spaces

* Remove extra semicolons in test

* Fix warnings in test

-Wreturn-type
-Wunused-parameter
-Wunused-value

* Fix -Wunused-variable warning in test

The variable 'failptr' is unused. From looking at the other variables in the
test case, it seems the fix is to first remove 'failptr' and then rename
'efail' to 'failptr'.

* Fix -Wunused-variable warning in test

* Fix -Wmacro-redefined warning in test

STATIC_REQUIRE has a previous definition in catch2/catch.hpp.
2022-11-24 13:18:39 +00:00
Isabella Muerte
0ca73ee30e 🎨 Revamp CMake to be correct and easy to understand (#69)
🎨 Cleanup include path for catch2

 Add basic .deb generation support
  WiX and RPM support is still needed (if even desired?)

⬆️ Upgrade minimum CMake version to 3.14
⬆️ Upgrade Catch to Catch v2.9.2
📌 Pin Catch to v2.9.2
2019-10-25 14:44:01 +01:00
Simon Brand
90ed23a4e4 Do CMake properly 2019-05-01 12:15:40 +01:00
Simon Brand
4aa086e242 Support mapping no-arg functions for void expecteds 2018-08-24 10:08:20 +01:00
Björn Fahller
5055e6382c or_else calls func with error state (#22)
* or_else calls func with error state

* Hopefully worked around C++11 issues with or_else

* or_else with g++-4.8 not supporting const&& overloads
2018-05-28 12:09:43 +01:00
Simon Brand
ed0c4eb48a Fix #14 2018-03-01 15:05:15 +00:00
Simon Brand
468c403c91 Initial void support 2017-12-18 15:57:49 +00:00
Simon Brand
0980210d1c More tests 2017-12-05 19:59:49 +00:00
Simon Brand
9423013aca Support void for map_error 2017-12-03 08:25:19 +00:00
Simon Brand
90f88ebff2 Fix tests 2017-11-02 09:22:58 +00:00
Simon Brand
aa375b4815 Fix tests 2017-11-02 09:04:06 +00:00
Simon Brand
a089579387 map_error tests 2017-10-27 12:18:57 +01:00
Simon Brand
dddf72ee34 Map and and_then with tests 2017-10-27 12:08:25 +01:00