summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-02-20 23:13:29 -0800
committerGitHub <noreply@github.com>2024-02-20 23:13:29 -0800
commit2e2c7943da89b0100db3bba4b11267b5a857ca92 (patch)
tree8cbf8010e964cdbb7381fa15b1062b2c43cbd870 /tests/diagnostics
parent2ee05c1257c916e5c804a6b565a2a6aa362050e0 (diff)
Language server robustness fix. (#3607)
* Language server robustness fix. * Allow parameter name to be the same as its type. * fix * Fix test.
Diffstat (limited to 'tests/diagnostics')
-rw-r--r--tests/diagnostics/recursive-import.slang3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/diagnostics/recursive-import.slang b/tests/diagnostics/recursive-import.slang
index b74e55be4..312c579cf 100644
--- a/tests/diagnostics/recursive-import.slang
+++ b/tests/diagnostics/recursive-import.slang
@@ -1,6 +1,7 @@
-//DIAGNOSTIC_TEST:SIMPLE:
+//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
// A file that recursively imports itself
// (including transitive cases) should be diagnosed.
+// CHECK: ([[#@LINE+1]]): error 38200
import recursive_import_extra;