summary refs log tree commit diff stats
path: root/tests/pragmas
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-05-26 00:51:48 -0700
committerGitHub <noreply@github.com>2021-05-26 09:51:48 +0200
commit3b1aabdcffafbbf37ad02f013f754f67dfe2461c (patch)
tree9f676eb0fede03899179840249bfe58003a80e6e /tests/pragmas
parent0b2bbcaa23f91b06bc06dd2cf35d4d26a6d24aa8 (diff)
downloadNim-3b1aabdcffafbbf37ad02f013f754f67dfe2461c.tar.gz
change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) (#18085)
Diffstat (limited to 'tests/pragmas')
-rw-r--r--tests/pragmas/t8741.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pragmas/t8741.nim b/tests/pragmas/t8741.nim
index 61a449c01..221c732b0 100644
--- a/tests/pragmas/t8741.nim
+++ b/tests/pragmas/t8741.nim
@@ -1,5 +1,5 @@
 discard """
-  cmd: "nim check --hint[processing]:off $file"
+  cmd: "nim check --hint:processing:off $file"
   errormsg: "3 is not two"
   nimout: '''t8741.nim(13, 9) Error: cannot attach a custom pragma to 'a'
 t8741.nim(29, 15) template/generic instantiation of `onlyTwo` from here