Skip to content

Commit

Permalink
Update tests for pandoc 5f0bfd41
Browse files Browse the repository at this point in the history
cf jgm/pandoc@5f0bfd4
which changed the output of booktabs rules
  • Loading branch information
hseg committed Apr 4, 2022
1 parent fe1f71b commit d3dedc6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions test/m2m/secLabels/expect.tex
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ \subsection{a.b Other Second Level
\hypertarget{tbl:mytable}{}
\begin{longtable}[]{@{}lll@{}}
\caption{\label{tbl:mytable}My table}\tabularnewline
\toprule
\toprule()
a & b & c \\
\midrule
\midrule()
\endfirsthead
\toprule
\toprule()
a & b & c \\
\midrule
\midrule()
\endhead
1 & 2 & 3 \\
4 & 5 & 6 \\
\bottomrule
\bottomrule()
\end{longtable}
10 changes: 5 additions & 5 deletions test/m2m/setLabelAttribute/expect.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ \section{Section}\label{section}}
\hypertarget{tbl:1}{}
\begin{longtable}[]{@{}ll@{}}
\caption{\label{tbl:1}Table}\tabularnewline
\toprule
\toprule()
a & b \\
\midrule
\midrule()
\endfirsthead
\toprule
\toprule()
a & b \\
\midrule
\midrule()
\endhead
1 & 2 \\
\bottomrule
\bottomrule()
\end{longtable}

\begin{codelisting}
Expand Down
2 changes: 1 addition & 1 deletion test/test-pandoc-crossref.hs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ main = hspec $ do
it "Tbl labels" $
table' "A table" "some_table1"
<> para (citeGen "tbl:some_table" [1])
`test` "\\hypertarget{tbl:some_table1}{}\n\\begin{longtable}[]{@{}@{}}\n\\caption{\\label{tbl:some_table1}A table}\\tabularnewline\n\\toprule\n\\endhead\n \\\\\n\\bottomrule\n\\end{longtable}\n\ntbl.~\\ref{tbl:some_table1}"
`test` "\\hypertarget{tbl:some_table1}{}\n\\begin{longtable}[]{@{}@{}}\n\\caption{\\label{tbl:some_table1}A table}\\tabularnewline\n\\toprule()\n\\endhead\n \\\\\n\\bottomrule()\n\\end{longtable}\n\ntbl.~\\ref{tbl:some_table1}"
#endif

it "Code block labels" $ do
Expand Down

0 comments on commit d3dedc6

Please sign in to comment.