|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61319 - trunk/libs/spirit/test/qi
From: hartmut.kaiser_at_[hidden]
Date: 2010-04-16 13:56:12
Author: hkaiser
Date: 2010-04-16 13:56:11 EDT (Fri, 16 Apr 2010)
New Revision: 61319
URL: http://svn.boost.org/trac/boost/changeset/61319
Log:
Spirit: added single character syntax for character ranges, added tests
Text files modified:
trunk/libs/spirit/test/qi/char.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/libs/spirit/test/qi/char.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/char.cpp (original)
+++ trunk/libs/spirit/test/qi/char.cpp 2010-04-16 13:56:11 EDT (Fri, 16 Apr 2010)
@@ -116,6 +116,9 @@
BOOST_TEST(test(L"x", L"x"));
BOOST_TEST(test("x", ascii::char_("x")));
BOOST_TEST(test(L"x", wide::char_(L"x")));
+
+ BOOST_TEST(test("x", ascii::char_("a", "z")));
+ BOOST_TEST(test(L"x", ascii::char_(L"a", L"z")));
}
{
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