Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66999 - trunk/libs/spirit/test/qi
From: hartmut.kaiser_at_[hidden]
Date: 2010-12-03 21:03:33


Author: hkaiser
Date: 2010-12-03 21:03:33 EST (Fri, 03 Dec 2010)
New Revision: 66999
URL: http://svn.boost.org/trac/boost/changeset/66999

Log:
Spirit: fixed utree tests
Text files modified:
   trunk/libs/spirit/test/qi/utree.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/test/qi/utree.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/utree.cpp (original)
+++ trunk/libs/spirit/test/qi/utree.cpp 2010-12-03 21:03:33 EST (Fri, 03 Dec 2010)
@@ -66,7 +66,7 @@
             ut.which() == utree_type::list_type && check(ut, "( 1.2 \"a\" \"b\" )"));
         ut.clear();
         BOOST_TEST(test_attr("ab1.2", *~digit >> double_, ut) &&
- ut.which() == utree_type::list_type && check(ut, "( \"a\" \"b\" 1.2 )"));
+ ut.which() == utree_type::list_type && check(ut, "( \"ab\" 1.2 )"));
 
         rule<char const*, utree()> r = double_;
 
@@ -75,7 +75,7 @@
             ut.which() == utree_type::list_type && check(ut, "( 1.2 \"a\" \"b\" )"));
         ut.clear();
         BOOST_TEST(test_attr("ab1.2", *~digit >> r, ut) &&
- ut.which() == utree_type::list_type && check(ut, "( \"a\" \"b\" 1.2 )"));
+ ut.which() == utree_type::list_type && check(ut, "( \"ab\" 1.2 )"));
     }
 
     // kleene star


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