From 679e94e53d36efa24507cae960533a6a0f9053e8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 18 Nov 2011 19:50:45 -0800 Subject: Updated tests for correct col width. --- tests/tables.asciidoc | 8 ++++---- tests/writer.asciidoc | 29 ++++++++++++++--------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/tests/tables.asciidoc b/tests/tables.asciidoc index 842a9b8c4..38daca192 100644 --- a/tests/tables.asciidoc +++ b/tests/tables.asciidoc @@ -52,20 +52,20 @@ Multiline table without caption: Table without column headers: [cols=">,<,^,>",] -|======================================================================= +|============================================================================= |12 |12 |12 |12 |123 |123 |123 |123 |1 |1 |1 |1 -|======================================================================= +|============================================================================= Multiline table without column headers: [width="78%",cols="^21%,<17%,>20%,42%",] -|======================================================================= +|============================================================================= |First |row |12.0 |Example of a row that spans multiple lines. |Second |row |5.0 |Here's another one. Note the blank line between rows. -|======================================================================= +|============================================================================= diff --git a/tests/writer.asciidoc b/tests/writer.asciidoc index 514c72976..af27e02ce 100644 --- a/tests/writer.asciidoc +++ b/tests/writer.asciidoc @@ -4,8 +4,8 @@ Pandoc Test Suite :author: Anonymous :date: July 17, 2006 -This is a set of tests for pandoc. Most of them are adapted from John -Gruber’s markdown test suite. +This is a set of tests for pandoc. Most of them are adapted from John Gruber’s +markdown test suite. ''''' @@ -46,9 +46,9 @@ Paragraphs Here’s a regular paragraph. -In Markdown 1.0.0 and earlier. Version 8. This line turns into a list -item. Because a hard-wrapped line in the middle of a paragraph looked -like a list item. +In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. +Because a hard-wrapped line in the middle of a paragraph looked like a list +item. Here’s one with a bullet. \* criminey. @@ -446,8 +446,8 @@ Smart quotes, ellipses, dashes `He said, ``I want to go.''' Were you alive in the 70’s? -Here is some quoted ``code`' and a -``http://example.com/?foo=1&bar=2[quoted link]''. +Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted +link]''. Some dashes: one—two — three—four — five. @@ -594,8 +594,7 @@ Foo link:/url/[biz]. With ampersands ~~~~~~~~~~~~~~~ -Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the -URL]. +Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL]. Here’s a link with an amersand in the link text: http://att.com/[AT&T]. @@ -641,12 +640,12 @@ Footnotes --------- Here is a footnote reference,footnote:[Here is the footnote. It can go -anywhere after the footnote reference. It need not be placed at the end -of the document.] and another.[multiblock footnote omitted] This should -_not_ be a footnote reference, because it contains a space.[\^my note] -Here is an inline note.footnote:[This is _easier_ to type. Inline notes -may contain http://google.com[links] and `]` verbatim characters, as -well as [bracketed text].] +anywhere after the footnote reference. It need not be placed at the end of the +document.] and another.[multiblock footnote omitted] This should _not_ be a +footnote reference, because it contains a space.[\^my note] Here is an inline +note.footnote:[This is _easier_ to type. Inline notes may contain +http://google.com[links] and `]` verbatim characters, as well as [bracketed +text].] ___________________________________________ Notes can go in quotes.footnote:[In quote.] -- cgit v1.2.3