summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-30 09:54:47 -0700
committerGitHub <noreply@github.com>2021-04-30 18:54:47 +0200
commit3192995ac97ad0648b6d1e5a5a1a42d403b37e72 (patch)
treea620eb1ad1c7eac02b5ff6a28f5fdaeac1f9bf20 /tests/stdlib
parent76f93877cdb2a2baf28eed6edda5bcc96f4ef404 (diff)
downloadNim-3192995ac97ad0648b6d1e5a5a1a42d403b37e72.tar.gz
close #16646; `since` now works with bootstrap nim post csources_v1 (#17895)
* revive #16627 now that csources_v1 was merged

* use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683

* fix test and improve rendering of a rst warning
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/trstgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/trstgen.nim b/tests/stdlib/trstgen.nim
index 0af6ba566..cbdb23cd6 100644
--- a/tests/stdlib/trstgen.nim
+++ b/tests/stdlib/trstgen.nim
@@ -849,7 +849,7 @@ Test1
     let output8 = input8.toHtml(warnings = warnings8)
     check(warnings8[].len == 1)
     check("input(6, 1) Warning: RST style: \n" &
-          "  not enough indentation on line 6" in warnings8[0])
+          "not enough indentation on line 6" in warnings8[0])
     doAssert output8 == "Paragraph.<ol class=\"upperalpha simple\">" &
         "<li>stringA</li>\n<li>stringB</li>\n</ol>\n<p>C. string1 string2 </p>\n"