Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54792 - trunk/libs/spirit/test/lex
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-08 09:03:01


Author: hkaiser
Date: 2009-07-08 09:03:00 EDT (Wed, 08 Jul 2009)
New Revision: 54792
URL: http://svn.boost.org/trac/boost/changeset/54792

Log:
Spirit: fixing a test case
Text files modified:
   trunk/libs/spirit/test/lex/set_token_value.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/test/lex/set_token_value.cpp
==============================================================================
--- trunk/libs/spirit/test/lex/set_token_value.cpp (original)
+++ trunk/libs/spirit/test/lex/set_token_value.cpp 2009-07-08 09:03:00 EDT (Wed, 08 Jul 2009)
@@ -265,11 +265,11 @@
         BOOST_TEST(lex::tokenize(first, input.end(), lexer
           , phoenix::push_back(phoenix::ref(tokens), _1)));
 
- int i[] = { 4, -1 };
+ int i[] = { -1 };
         BOOST_TEST(test_indents(i, lexer.indents));
 
         token_data d[] = {
- { ID_INDENT, 1 }, { ID_INDENT, 1 }, { ID_INDENT, 1 }
+ { ID_INDENT, 1 }, { ID_INDENT, 1 }
           , { ID_DEDENT, 2 }
           , { -1, 0 } };
         BOOST_TEST(test_tokens(d, tokens));


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