summaryrefslogtreecommitdiff
path: root/inputs
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>1999-10-25 10:15:06 +0000
committerSimon Tatham <anakin@pobox.com>1999-10-25 10:15:06 +0000
commite51e74249b8990672b1420c6edcf608ca292533a (patch)
tree3079a4d68b7e99e6bcfcc76b604df91371542c96 /inputs
parent8e0e3ac1481ea8c84aa2a0dbfb23bbb3d7700a0c (diff)
downloadhalibut-e51e74249b8990672b1420c6edcf608ca292533a.zip
halibut-e51e74249b8990672b1420c6edcf608ca292533a.tar.gz
halibut-e51e74249b8990672b1420c6edcf608ca292533a.tar.bz2
halibut-e51e74249b8990672b1420c6edcf608ca292533a.tar.xz
Test all error conditions, I hope
[originally from svn r254]
Diffstat (limited to 'inputs')
-rw-r--r--inputs/errors.but51
1 files changed, 51 insertions, 0 deletions
diff --git a/inputs/errors.but b/inputs/errors.but
new file mode 100644
index 0000000..1befc74
--- /dev/null
+++ b/inputs/errors.but
@@ -0,0 +1,51 @@
+Bogus keyword: \k{nonexist}
+
+\BR{nonexist2} [Foogle]
+
+\B{book} Foo McBar, "A Lot Of Rubbish", 1992.
+
+\B{book} The same book again. Isn't that odd?
+
+\IM{nonexist3} Logical impossibilities
+
+\define{macro} macro definition
+
+\define{macro} same macro again
+
+\c Foo
+\c Bar
+Bombadillo. Now get out of _that_.
+
+\unngh This is a bit of a bizarre paragraph, now isn't it?
+
+\C{unfinished-symphony
+
+\U{thisshouldn'tbehere} Unnumbered chapter. Or is it?
+
+\C Numbered chapter. Or _is_ it?
+
+\BR{two}{too}{many} [Which One?]
+
+\nocite{ooh} With some illegal text.
+
+Paragraph with {bizarre braces}.
+
+Another one } .
+
+Bogus in-para comment: \# foobar.
+
+Bogus xrefs: \k and \k{foo{}}.
+
+Nest those styles! \c{foo\e{bar}}. And
+\c{foo\W{file:/dev/null}\e{bar}}. And \e{foo\i\c{bar}}.
+And one without brace: \e.
+
+Bogus hyperlinks: \W and \W{file:/dev/null}bar.
+
+Nested index: \i{foo\i{bar}}. Broken styled index: \i\c.
+
+Complete twaddle: \twaddle.
+
+Unclosed brace: \c{foo.
+
+Comment to EOF: \#{ and here we go.