Skip to content

Commit d51bc16

Browse files
committed
quick "improvement" to the error reporting in one of the tests
1 parent 77fcbf1 commit d51bc16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script_umdp3_checker/umdp3_checker_rules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ def lowercase_variable_names(self, lines: List[str]) -> TestResult:
353353
f"{match[1]}")
354354
failures += 1
355355
error_log = self.add_error_log(
356-
error_log, "UPPERCASE variable name", count + 1
356+
error_log, f"UPPERCASE variable name {match[1]}",
357+
count + 1
357358
)
358359

359360
output = f"Checked {count + 1} lines, found {failures} failures."

0 commit comments

Comments
 (0)