From: David G. <go...@us...> - 2002-09-10 03:44:56
|
Update of /cvsroot/docutils/docutils/test/test_rst/test_directives In directory usw-pr-cvs1:/tmp/cvs-serv4550/docutils/test/test_rst/test_directives Modified Files: test_contents.py Log Message: added Index: test_contents.py =================================================================== RCS file: /cvsroot/docutils/docutils/test/test_rst/test_directives/test_contents.py,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- test_contents.py 4 Sep 2002 01:36:47 -0000 1.9 +++ test_contents.py 10 Sep 2002 03:44:53 -0000 1.10 @@ -112,6 +112,21 @@ title: None """], ["""\ +.. contents:: + :local: arg +""", +"""\ +<document source="test data"> + <system_message level="3" line="1" source="test data" type="ERROR"> + <paragraph> + Error in "contents" directive options: + invalid option value: (option: "local"; value: 'arg') + no argument is allowed; "arg" supplied. + <literal_block xml:space="1"> + .. contents:: + :local: arg +"""], +["""\ .. contents:: Table of Contents :local: :depth: 2 |