summary refs log tree commit diff stats
path: root/tests/stylecheck/t20397_2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stylecheck/t20397_2.nim')
-rw-r--r--tests/stylecheck/t20397_2.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/stylecheck/t20397_2.nim b/tests/stylecheck/t20397_2.nim
new file mode 100644
index 000000000..3b8e1c4d6
--- /dev/null
+++ b/tests/stylecheck/t20397_2.nim
@@ -0,0 +1,7 @@
+discard """
+  errormsg: "'a_b' should be: 'aB'"
+  matrix: "--styleCheck:error"
+"""
+
+var a_b = 1
+discard a_b
\ No newline at end of file