From db362782ac7a5b94ab26b6fe29c2d524d620b199 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 29 Jun 2001 19:35:40 +0000 Subject: [PATCH] function_n_test.cpp: function_test.cpp: - Removed silly ';;' constructs: MSVC seems to handle the updated code much better. regression.cfg: - Fixed typos [SVN r10482] --- test/function_n_test.cpp | 8 ++++---- test/function_test.cpp | 8 ++++---- test/regression.cfg | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index a39a70b..9e7a1d7 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -130,7 +130,7 @@ test_zero_args() // Construction from another function (that is empty) v1.clear(); - func_void_type v2(v1);; + func_void_type v2(v1); BOOST_TEST(!v2); // Assignment to an empty function @@ -227,10 +227,10 @@ test_zero_args() BOOST_TEST(global_int == 5); global_int = 0; v2(); - BOOST_TEST(global_int == 5);; + BOOST_TEST(global_int == 5); // Construct a function given another function containing a function - func_void_type v3(v1);; + func_void_type v3(v1); // Invocation of a function global_int = 0; @@ -552,7 +552,7 @@ test_emptiness() BOOST_TEST(f2.empty()); function0 f3; - f3 = f2;; + f3 = f2; BOOST_TEST(f3.empty()); } diff --git a/test/function_test.cpp b/test/function_test.cpp index 55d448d..5b39a80 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -130,7 +130,7 @@ test_zero_args() // Construction from another function (that is empty) v1.clear(); - func_void_type v2(v1);; + func_void_type v2(v1); BOOST_TEST(!v2); // Assignment to an empty function @@ -227,10 +227,10 @@ test_zero_args() BOOST_TEST(global_int == 5); global_int = 0; v2(); - BOOST_TEST(global_int == 5);; + BOOST_TEST(global_int == 5); // Construct a function given another function containing a function - func_void_type v3(v1);; + func_void_type v3(v1); // Invocation of a function global_int = 0; @@ -552,7 +552,7 @@ test_emptiness() BOOST_TEST(f2.empty()); function f3; - f3 = f2;; + f3 = f2; BOOST_TEST(f3.empty()); } diff --git a/test/regression.cfg b/test/regression.cfg index 02884a6..1151d6f 100644 --- a/test/regression.cfg +++ b/test/regression.cfg @@ -1,7 +1,7 @@ // Boost.Function regression test configuration file // From the boost/status directory, run -// ./regressions --tests ../libs/function/test/regression.cfg --o function.html +// ./regression --tests ../libs/function/test/regression.cfg -o function.html run libs/function/test/allocator_test.cpp