2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-22 05:12:51 +00:00

Switch to LightweightTest to avoid deprecation warnings

This commit is contained in:
Peter Dimov
2021-05-18 04:55:56 +03:00
parent 86451f2238
commit 95e1de198e
19 changed files with 71 additions and 85 deletions

View File

@@ -11,7 +11,8 @@
// test using BLL and boost::function
#include <boost/test/minimal.hpp> // see "Header Implementation Option"
#include <boost/core/lightweight_test.hpp>
#define BOOST_CHECK BOOST_TEST
#include "boost/lambda/lambda.hpp"
#include "boost/lambda/bind.hpp"
@@ -46,15 +47,9 @@ void test_foreach() {
// More tests needed (for all algorithms)
int test_main(int, char *[]) {
int main() {
test_foreach();
return 0;
return boost::report_errors();
}