2
0
mirror of https://github.com/boostorg/assign.git synced 2026-01-31 19:52:10 +00:00

fixed a faulty call to BOOST_CHECK_THROW

[SVN r23627]
This commit is contained in:
Joaquín M. López Muñoz
2004-07-16 12:47:52 +00:00
parent 7a04858543
commit cb80ac9342

View File

@@ -51,7 +51,8 @@ void check_array()
BOOST_CHECK_EQUAL( a2[5], 0 );
// too many arguments
#if BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, == 1)
BOOST_CHECK_THROW( a2 = list_of(1)(2)(3)(4)(5)(6)(6).to_array(a2);
BOOST_CHECK_THROW( a2 = list_of(1)(2)(3)(4)(5)(6)(6).to_array(a2),
assignment_exception );
#else
BOOST_CHECK_THROW( a2 = list_of(1)(2)(3)(4)(5)(6)(7), assignment_exception );
#endif