summary refs log tree commit diff stats
path: root/tests/array
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-10-29 21:32:42 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-10-29 21:32:42 +0100
commit8b54db06cb519e6e29b73120c71b3fb8c06a608b (patch)
treef9c86b42e2cb33b4c71e49257a33afde978a8697 /tests/array
parent957105520fc99b307c5981524e9f54b784ffe40d (diff)
downloadNim-8b54db06cb519e6e29b73120c71b3fb8c06a608b.tar.gz
system.nim: typo
Diffstat (limited to 'tests/array')
-rw-r--r--tests/array/troof1.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/array/troof1.nim b/tests/array/troof1.nim
index 9df012e6a..2c993ca22 100644
--- a/tests/array/troof1.nim
+++ b/tests/array/troof1.nim
@@ -9,3 +9,5 @@ var a = @[1, 2, 3, 4]
 var b: array[3, array[2, float]] = [[1.0,2], [3.0,4], [8.0,9]]
 echo a[1.. ^1], a[^2], a[^3], a[^4]
 echo b[^1][^1], " ", (b[^2]).foo(b[^1])[^1]
+
+b[^1] = [8.8, 8.9]