Improve test messages

This commit is contained in:
Karl Yngve Lervåg 2016-04-07 22:12:46 +02:00
parent bbdb836443
commit 9077836f10
4 changed files with 26 additions and 26 deletions

View File

@ -1,13 +1,13 @@
Given tex (Some complicated delimited math): Given tex (Delims: toggle in complicated math):
$\bigl(\begin{smallmatrix} $\bigl(\begin{smallmatrix}
\Q^* & \\ \Q^* & \\
& 1 \\ & 1 \\
\end{smallmatrix}\bigr)$ \end{smallmatrix}\bigr)$
Do (Toggle math delimiters): Do (Toggle):
3jtsd 3jtsd
Expect tex (Toggled math delimiters): Expect tex (Verify):
$(\begin{smallmatrix} $(\begin{smallmatrix}
\Q^* & \\ \Q^* & \\
& 1 \\ & 1 \\

View File

@ -3,7 +3,7 @@ Execute (Setup):
let g:vimtex_format_enabled = 1 let g:vimtex_format_enabled = 1
silent! VimtexReload silent! VimtexReload
Given tex (Format inline comment): Given tex (Format: Inline comment):
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
elitr, sed diam elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
@ -11,10 +11,10 @@ Given tex (Format inline comment):
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
ipsum dolor sit amet. ipsum dolor sit amet.
Do: Do (Format text):
gqG gqG
Expect tex: Expect tex (Verify):
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores

View File

@ -1,7 +1,7 @@
Execute (Setup): Execute (Setup):
set shiftwidth=2 set shiftwidth=2
Given tex (Indent regular tex): Given tex (Indent: regular tex):
\documentclass{minimal} \documentclass{minimal}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{tikz} \usepackage{tikz}
@ -13,10 +13,10 @@ Given tex (Indent regular tex):
\end{document} \end{document}
Do: Do (Indent):
gg=G gg=G
Expect tex: Expect tex (Verify):
\documentclass{minimal} \documentclass{minimal}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{tikz} \usepackage{tikz}
@ -28,7 +28,7 @@ Expect tex:
\end{document} \end{document}
Given tex (Indent lists): Given tex (Indent: lists):
\begin{itemize} \begin{itemize}
\item item is indented twice \item item is indented twice
and the next line is indented to match and the next line is indented to match
@ -41,10 +41,10 @@ Given tex (Indent lists):
(Author): commentaries here (Author): commentaries here
\end{description} \end{description}
Do: Do (Indent):
gg=G gg=G
Expect tex: Expect tex (Verify):
\begin{itemize} \begin{itemize}
\item item is indented twice \item item is indented twice
and the next line is indented to match and the next line is indented to match
@ -57,7 +57,7 @@ Expect tex:
(Author): commentaries here (Author): commentaries here
\end{description} \end{description}
Given tex (Indent math): Given tex (Indent: math):
\[ \[
1+1 1+1
\] \]
@ -75,10 +75,10 @@ Given tex (Indent math):
\right. \right.
\end{equation} \end{equation}
Do: Do (Indent):
gg=G gg=G
Expect tex: Expect tex (Verify):
\[ \[
1+1 1+1
\] \]
@ -96,7 +96,7 @@ Expect tex:
\right. \right.
\end{equation} \end{equation}
Given tex (Indent tikz): Given tex (Indent: tikz):
\tikz \fill[green] rectangle (0.5,0.5); Something \tikz \fill[green] rectangle (0.5,0.5); Something
about something. about something.
@ -119,10 +119,10 @@ Given tex (Indent tikz):
node [yshift=-.25cm] {(ii)}; node [yshift=-.25cm] {(ii)};
\end{tikzpicture} \end{tikzpicture}
Do: Do (Indent):
gg=G gg=G
Expect tex: Expect tex (Verify):
\tikz \fill[green] rectangle (0.5,0.5); Something \tikz \fill[green] rectangle (0.5,0.5); Something
about something. about something.
@ -145,7 +145,7 @@ Expect tex:
node [yshift=-.25cm] {(ii)}; node [yshift=-.25cm] {(ii)};
\end{tikzpicture} \end{tikzpicture}
Given tex (Indent verbatims): Given tex (Indent: verbatims):
\begin{verbatim} \begin{verbatim}
#!/bin/bash #!/bin/bash
echo "test" echo "test"
@ -157,10 +157,10 @@ Given tex (Indent verbatims):
not affect verbatim environments! not affect verbatim environments!
\end{lstlisting} \end{lstlisting}
Do: Do (Indent):
gg=G gg=G
Expect tex: Expect tex (Verify):
\begin{verbatim} \begin{verbatim}
#!/bin/bash #!/bin/bash
echo "test" echo "test"

View File

@ -1,4 +1,4 @@
Given tex (Complex environment): Given tex (Define complex environment):
\begin{complexenvironment}[option1, \begin{complexenvironment}[option1,
option2]{first extra argument} option2]{first extra argument}
{second extra {second extra
@ -6,19 +6,19 @@ Given tex (Complex environment):
Hello world! Hello world!
\end{complexenvironment} \end{complexenvironment}
Do (Delete inner): Do (Delete environment (excluding)):
die die
Expect tex (Inner deleted): Expect tex (Verify):
\begin{complexenvironment}[option1, \begin{complexenvironment}[option1,
option2]{first extra argument} option2]{first extra argument}
{second extra {second extra
argument} argument}
\end{complexenvironment} \end{complexenvironment}
Do (Delete outer): Do (Delete environment (including)):
dae dae
Expect tex (Outer deleted): Expect tex (Verify):