summary refs log tree commit diff stats
path: root/tests/collections
diff options
context:
space:
mode:
Diffstat (limited to 'tests/collections')
-rw-r--r--tests/collections/tableadds.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/collections/tableadds.nim b/tests/collections/tableadds.nim
new file mode 100644
index 000000000..71f1fad7d
--- /dev/null
+++ b/tests/collections/tableadds.nim
@@ -0,0 +1,13 @@
+discard """
+  output: '''done'''
+"""
+
+import tables
+
+proc main =
+  var tab = newTable[string, string]()
+  for i in 0..1000:
+    tab.add "key", "value " & $i
+
+main()
+echo "done"