|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82192 - in branches/release: . libs libs/spirit libs/spirit/example libs/spirit/repository/test/qi libs/spirit/test libs/spirit/test/karma
From: hartmut.kaiser_at_[hidden]
Date: 2012-12-23 15:09:04
Author: hkaiser
Date: 2012-12-23 15:09:03 EST (Sun, 23 Dec 2012)
New Revision: 82192
URL: http://svn.boost.org/trac/boost/changeset/82192
Log:
Spirit: merge inspect fixes from trunk
Properties modified:
branches/release/ (props changed)
branches/release/libs/ (props changed)
branches/release/libs/spirit/ (props changed)
branches/release/libs/spirit/example/ (props changed)
branches/release/libs/spirit/test/ (props changed)
Text files modified:
branches/release/libs/spirit/repository/test/qi/keywords.cpp | 6 ++++--
branches/release/libs/spirit/test/karma/regression_real_0.cpp | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
Modified: branches/release/libs/spirit/repository/test/qi/keywords.cpp
==============================================================================
--- branches/release/libs/spirit/repository/test/qi/keywords.cpp (original)
+++ branches/release/libs/spirit/repository/test/qi/keywords.cpp 2012-12-23 15:09:03 EST (Sun, 23 Dec 2012)
@@ -75,8 +75,10 @@
// no constraints
boost::fusion::vector<char,char,int> data;
- BOOST_TEST( test_attr("c=1 a=a", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], data, space));
- BOOST_TEST( test("a=a c=1", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], space));
+ BOOST_TEST( test_attr("c=1 a=a", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], data, space));
+ BOOST_TEST( boost::fusion::at_c<0>(data) == 'a' );
+ BOOST_TEST( boost::fusion::at_c<1>(data) == 0 );
+ BOOST_TEST( boost::fusion::at_c<2>(data) == 1 );
// Exact
BOOST_TEST(test("a=a b=b c=1", kwd("a",1)[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], space));
Modified: branches/release/libs/spirit/test/karma/regression_real_0.cpp
==============================================================================
--- branches/release/libs/spirit/test/karma/regression_real_0.cpp (original)
+++ branches/release/libs/spirit/test/karma/regression_real_0.cpp 2012-12-23 15:09:03 EST (Sun, 23 Dec 2012)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 Agustín K-ballo Berge
+// Copyright (c) 2012 Agustin K-ballo Berge
// Copyright (c) 2001-2012 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
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