Skip to content

Commit 4863ec5

Browse files
committed
added indentation check test
1 parent 7260c13 commit 4863ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkstyle/checks/IndentationCharacterCheck.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class IndentationCharacterCheck extends Check {
2222
}
2323
for (i in 0 ... _checker.lines.length) {
2424
var line = _checker.lines[i];
25-
if (line.length > 0 && !re.match(line)) log('Wrong indentation character', i + 1, 1, Reflect.field(SeverityLevel, severity));
25+
if (line.length > 0 && !re.match(line)) log('Wrong indentation character (${character})', i + 1, 1, Reflect.field(SeverityLevel, severity));
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)