summary refs log tree commit diff stats
path: root/tests/stdlib/trst.nim
diff options
context:
space:
mode:
authorAndrey Makarov <ph.makarov@gmail.com>2021-10-06 14:53:01 +0300
committerGitHub <noreply@github.com>2021-10-06 13:53:01 +0200
commitf03872d99ec2d25de829415a75162f9d8297bb19 (patch)
tree9ead3ff455071b3d868fcbd0800548beb562855c /tests/stdlib/trst.nim
parentb2873f0f63f7741ee995363a6bb225a228d03d18 (diff)
downloadNim-f03872d99ec2d25de829415a75162f9d8297bb19.tar.gz
rst: minor fixes (#18960)
Diffstat (limited to 'tests/stdlib/trst.nim')
-rw-r--r--tests/stdlib/trst.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/trst.nim b/tests/stdlib/trst.nim
index bc11f219c..e9f67324c 100644
--- a/tests/stdlib/trst.nim
+++ b/tests/stdlib/trst.nim
@@ -55,7 +55,7 @@ proc toAst(input: string,
 
     var (rst, _, _) = rstParse(input, filen, line=LineRstInit, column=ColRstInit,
                                rstOptions, myFindFile, testMsgHandler)
-    result = renderRstToStr(rst)
+    result = treeRepr(rst)
   except EParseError as e:
     if e.msg != "":
       result = e.msg