summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorAndrey Makarov <ph.makarov@gmail.com>2021-11-08 15:10:01 +0300
committerGitHub <noreply@github.com>2021-11-08 13:10:01 +0100
commitb21eb1ed36aa068cc9b0a304742e4c81b5112304 (patch)
tree87893c2032b57e89eaea898617f861d35312de2b /tests/stdlib
parentb423ab138f41c24db3b168fd30f1ecce7850a170 (diff)
downloadNim-b21eb1ed36aa068cc9b0a304742e4c81b5112304.tar.gz
change os.nim doc links to new style (#19102)
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tdochelpers.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stdlib/tdochelpers.nim b/tests/stdlib/tdochelpers.nim
index 5bcdf32d5..9d440a1d6 100644
--- a/tests/stdlib/tdochelpers.nim
+++ b/tests/stdlib/tdochelpers.nim
@@ -153,3 +153,9 @@ suite "Integration with Nim":
                               outType: "T")
     check(input1.toLangSymbol == expected)
     check(input2.toLangSymbol == expected)
+
+  test "type of type":
+    check ("`CopyFlag enum`_".rstParseTest.toLangSymbol ==
+           LangSymbol(symKind: "type",
+                      symTypeKind: "enum",
+                      name: "Copyflag"))