From 270eb339ea67ac08622b5e386490bf09be6e0190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 14 Apr 2016 23:19:22 +0200 Subject: [PATCH] Add test for formatting across line breaks (#317) --- test/vader/format.vader | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test/vader/format.vader b/test/vader/format.vader index 3581f1b..386114c 100644 --- a/test/vader/format.vader +++ b/test/vader/format.vader @@ -21,3 +21,26 @@ Expect tex (Verify): et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +Given tex (Format: Line breaking): + start a new paragraph \\ + start a new line but not a new paragraph \\* + flush all, start a new (odd numbered) page \cleardoublepage + flush all, start a new page \clearpage + allow to break the line here \linebreak + request a new line \newline + request a new page \newpage + encourage page break \pagebreak + +Do (TODO Format text): + gqG + +Expect tex (Verify): + start a new paragraph \\ + start a new line but not a new paragraph \\* + flush all, start a new (odd numbered) page \cleardoublepage + flush all, start a new page \clearpage + allow to break the line here \linebreak + request a new line \newline + request a new page \newpage + encourage page break \pagebreak +