summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-06-23 23:31:55 -0700
committerGitHub <noreply@github.com>2021-06-24 08:31:55 +0200
commitf258e4e70c31b6e051d4333615a37a29b30aa0b9 (patch)
tree959a1562bbad825221e854c92334332078398066 /tests/errmsgs
parent0f91b67f5c15328330f74a8769aed9961940aab2 (diff)
downloadNim-f258e4e70c31b6e051d4333615a37a29b30aa0b9.tar.gz
fix #18332: XDeclaredButNotUsed hints now in deterministic order (#18336)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/treportunused.nim24
1 files changed, 13 insertions, 11 deletions
diff --git a/tests/errmsgs/treportunused.nim b/tests/errmsgs/treportunused.nim
index b339e06bf..3e945013e 100644
--- a/tests/errmsgs/treportunused.nim
+++ b/tests/errmsgs/treportunused.nim
@@ -1,16 +1,18 @@
 discard """
+  matrix: "--hint:all:off --hint:XDeclaredButNotUsed"
+  nimoutFull: true
   nimout: '''
-treportunused.nim(19, 10) Hint: 's1' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(26, 5) Hint: 's8' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(22, 6) Hint: 's4' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(25, 7) Hint: 's7' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(24, 7) Hint: 's6' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(23, 6) Hint: 's5' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(20, 10) Hint: 's2' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(29, 6) Hint: 's11' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(27, 5) Hint: 's9' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(21, 10) Hint: 's3' is declared but not used [XDeclaredButNotUsed]
-treportunused.nim(28, 6) Hint: 's10' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(21, 10) Hint: 's1' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(22, 10) Hint: 's2' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(23, 10) Hint: 's3' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(24, 6) Hint: 's4' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(25, 6) Hint: 's5' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(26, 7) Hint: 's6' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(27, 7) Hint: 's7' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(28, 5) Hint: 's8' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(29, 5) Hint: 's9' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(30, 6) Hint: 's10' is declared but not used [XDeclaredButNotUsed]
+treportunused.nim(31, 6) Hint: 's11' is declared but not used [XDeclaredButNotUsed]
 '''
 action: compile
 """