|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55130 - trunk/libs/spirit/test/qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-23 12:00:31
Author: hkaiser
Date: 2009-07-23 12:00:30 EDT (Thu, 23 Jul 2009)
New Revision: 55130
URL: http://svn.boost.org/trac/boost/changeset/55130
Log:
Spirit: improved test case
Text files modified:
trunk/libs/spirit/test/qi/attr.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/test/qi/attr.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/attr.cpp (original)
+++ trunk/libs/spirit/test/qi/attr.cpp 2009-07-23 12:00:30 EDT (Thu, 23 Jul 2009)
@@ -48,8 +48,8 @@
double d = 0.0;
BOOST_TEST(test_attr("", attr(val(1.0)), d) && d == 1.0);
- double d1 = 1.0;
- BOOST_TEST(test_attr("", attr(ref(d1)), d) && d == 1.0);
+ double d1 = 2.0;
+ BOOST_TEST(test_attr("", attr(ref(d1)), d) && d == 2.0);
}
return boost::report_errors();
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk