|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53377 - trunk/libs/spirit/test/qi
From: joel_at_[hidden]
Date: 2009-05-29 02:34:25
Author: djowel
Date: 2009-05-29 02:34:24 EDT (Fri, 29 May 2009)
New Revision: 53377
URL: http://svn.boost.org/trac/boost/changeset/53377
Log:
add test for unassigned rule
Text files modified:
trunk/libs/spirit/test/qi/rule.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/libs/spirit/test/qi/rule.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/rule.cpp (original)
+++ trunk/libs/spirit/test/qi/rule.cpp 2009-05-29 02:34:24 EDT (Fri, 29 May 2009)
@@ -139,6 +139,12 @@
&& s1 == e1 - 1);
}
}
+
+ { // test unassigned rule
+
+ rule<char const*> a;
+ BOOST_TEST(!test("x", a));
+ }
{ // alias tests
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