Update command tests to include stderr output.

This commit is contained in:
John MacFarlane 2017-05-25 11:52:09 +02:00
parent 895866222c
commit e34131502a
7 changed files with 23 additions and 5 deletions

11
test/command/1718.md Normal file
View file

@ -0,0 +1,11 @@
```
% pandoc -t native
Note[^1].
[^1]: the first note.
[^2]: the second, unused, note.
^D
[warning] Note with key '2' defined at line 5 column 1 but not used.
[Para [Str "Note",Note [Para [Str "the",Space,Str "first",Space,Str "note."]],Str "."]]
```

View file

@ -1,5 +1,5 @@
```
% pandoc -f latex
% pandoc -f latex --quiet
\begin{table}[h!]
\begin{tabular}{r|l|l}

View file

@ -1,5 +1,5 @@
```
% pandoc -f latex -t html5
% pandoc -f latex -t html5 --quiet
\begin{figure}[ht]
\begin{subfigure}{0.45\textwidth}
\centering

View file

@ -36,6 +36,7 @@ Loop detection:
__ link1_
^D
[warning] Circular reference 'link1' at line 1 column 15
<p><a href="">click here</a></p>
```

View file

@ -9,6 +9,7 @@
% pandoc -f latex -t markdown
\emph{Hi \foo{there}}
^D
[warning] Skipped '\foo{there}' at line 1 column 21
*Hi*
```
@ -23,5 +24,7 @@
% pandoc -f html -t markdown
<em>Hi <blink>there</blink></em>
^D
[warning] Skipped '<blink>' at input line 1 column 8
[warning] Skipped '</blink>' at input line 1 column 20
*Hi there*
```

View file

@ -2,6 +2,7 @@
% pandoc -f latex -t icml
\includegraphics{command/corrupt.svg}
^D
[warning] Could not determine image size for 'command/corrupt.svg': could not determine image type
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
<Rectangle Self="uec" StrokeWeight="0" ItemTransform="1.00000 0 0 1.00000 150.00000 -100.00000">
@ -34,6 +35,7 @@
% pandoc -f latex -t icml
\includegraphics{command/SVG_logo.svg}
^D
[warning] Could not determine image size for 'command/SVG_logo.svg': could not determine SVG size
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
<Rectangle Self="uec" StrokeWeight="0" ItemTransform="1.00000 0 0 1.00000 150.00000 -100.00000">
@ -66,6 +68,7 @@
% pandoc -f latex -t icml
\includegraphics{command/SVG_logo-without-xml-declaration.svg}
^D
[warning] Could not determine image size for 'command/SVG_logo-without-xml-declaration.svg': could not determine SVG size
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
<Rectangle Self="uec" StrokeWeight="0" ItemTransform="1.00000 0 0 1.00000 150.00000 -100.00000">

View file

@ -1,5 +1,5 @@
```
% pandoc -f latex -t native
% pandoc -f latex -t native --quiet
\begin{tabularx}{\linewidth}{|c|c|c|}
\hline
Column Heading 1
@ -36,7 +36,7 @@
```
```
% pandoc -f latex -t native
% pandoc -f latex -t native --quiet
\begin{tabularx}{\linewidth}{|X|c|p{0.25\linewidth}|}
\hline
Column Heading 1
@ -73,7 +73,7 @@
```
```
% pandoc -f latex -t native
% pandoc -f latex -t native --quiet
\begin{tabularx}{\linewidth}{|b{0.25\linewidth}|c|m{0.25\linewidth}|}
\hline
Column Heading 1