summary refs log tree commit diff stats
path: root/tests/array
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-12 08:10:20 -0800
committerGitHub <noreply@github.com>2021-02-12 17:10:20 +0100
commite40ff24c23c9010d66282fa8a3489fe6fa7dc1de (patch)
tree408b61c6ef0c220285d8f055f3d98bc4cafc7b50 /tests/array
parentf57774e1e70636ab68e5f2bc0a0cb47f7a8628f5 (diff)
downloadNim-e40ff24c23c9010d66282fa8a3489fe6fa7dc1de.tar.gz
typeToString: type float => typedesc[float] (#17011)
* typeToString: type float => typedesc[float]

* fixup

* fix tests
Diffstat (limited to 'tests/array')
-rw-r--r--tests/array/t9932.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/array/t9932.nim b/tests/array/t9932.nim
index 1e09c487b..e3c8abba3 100644
--- a/tests/array/t9932.nim
+++ b/tests/array/t9932.nim
@@ -1,9 +1,9 @@
 discard """
 cmd: "nim check $file"
-errormsg: "invalid type: 'type int' in this context: 'array[0..0, type int]' for var"
+errormsg: "invalid type: 'typedesc[int]' in this context: 'array[0..0, typedesc[int]]' for var"
 nimout: '''
 t9932.nim(10, 5) Error: invalid type: 'type' in this context: 'array[0..0, type]' for var
-t9932.nim(11, 5) Error: invalid type: 'type int' in this context: 'array[0..0, type int]' for var
+t9932.nim(11, 5) Error: invalid type: 'typedesc[int]' in this context: 'array[0..0, typedesc[int]]' for var
 '''
 """