diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2021-06-01 21:47:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 20:47:23 +0200 |
commit | ba3ec7b04954a9a60adb6e1a64405f7644f799ee (patch) | |
tree | fb3a4f82dda1d12001b9a918b4546c0e386b8e78 /tests | |
parent | c2e3dc0ed16a854981769b426e9e327663447df7 (diff) | |
download | Nim-ba3ec7b04954a9a60adb6e1a64405f7644f799ee.tar.gz |
docs: Latex generation improvements (#18141)
* docs: improve Latex generation * make it work on Windows + fix ] escaping * minor fixes with escapes and style
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stdlib/trstgen.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/trstgen.nim b/tests/stdlib/trstgen.nim index 864728686..34b172935 100644 --- a/tests/stdlib/trstgen.nim +++ b/tests/stdlib/trstgen.nim @@ -259,7 +259,7 @@ A2 A3 A4 A5 ==== === """ let output1 = rstToLatex(input1, {}) - doAssert "{|X|X|}" in output1 # 2 columns + doAssert "{LL}" in output1 # 2 columns doAssert count(output1, "\\\\") == 4 # 4 rows for cell in ["H0", "H1", "A0", "A1", "A2", "A3", "A4", "A5"]: doAssert cell in output1 @@ -274,7 +274,7 @@ A0 A1 X Ax Y ==== === = """ let output2 = rstToLatex(input2, {}) - doAssert "{|X|X|X|}" in output2 # 3 columns + doAssert "{LLL}" in output2 # 3 columns doAssert count(output2, "\\\\") == 2 # 2 rows for cell in ["H0", "H1", "H", "A0", "A1", "X", "Ax", "Y"]: doAssert cell in output2 |