Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51801 - trunk/tools/quickbook/test
From: daniel_james_at_[hidden]
Date: 2009-03-16 16:19:00


Author: danieljames
Date: 2009-03-16 16:19:00 EDT (Mon, 16 Mar 2009)
New Revision: 51801
URL: http://svn.boost.org/trac/boost/changeset/51801

Log:
Fix syntax error in tests.

There was a failing test caused by a syntax error in a test. The
solution is probably to improve the syntax in a new version and issue a
warning in older versions.
Text files modified:
   trunk/tools/quickbook/test/templates.gold | 5 ++---
   trunk/tools/quickbook/test/templates.quickbook | 4 ++--
   2 files changed, 4 insertions(+), 5 deletions(-)

Modified: trunk/tools/quickbook/test/templates.gold
==============================================================================
--- trunk/tools/quickbook/test/templates.gold (original)
+++ trunk/tools/quickbook/test/templates.gold 2009-03-16 16:19:00 EDT (Mon, 16 Mar 2009)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
-<article id="templates" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
- xmlns:xi="http://www.w3.org/2001/XInclude">
+<article id="templates" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
   <title>Templates</title>
   <articleinfo>
   </articleinfo>
@@ -66,7 +65,7 @@
       got a banana?
     </para>
     <para>
- [join2
+ .0 00
     </para>
   </section>
 </article>

Modified: trunk/tools/quickbook/test/templates.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates.quickbook (original)
+++ trunk/tools/quickbook/test/templates.quickbook 2009-03-16 16:19:00 EDT (Mon, 16 Mar 2009)
@@ -93,11 +93,11 @@
 
 [plantation [banana]]
 
-[/-------------------------------- Bugs! ]
+[/-------------------------------- Not a bug (there was a syntax error here) ]
 
 [template join1[a b] [b][a]]
 [template join2[a b] [a][b]]
-[template test[x] [join1 [join2 0 [x]] 0]]
+[template test[x] [join1 [join2 0 [x]]...0]]
 [test 0]
 
 [endsect]


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