Skip to content

Commit 814c3b9

Browse files
seraku24Gama11
authored andcommitted
Reinstate previously failing test case (543846f). (#311)
1 parent 652b3df commit 814c3b9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/checks/whitespace/IndentationCharacterCheckTest.hx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ class IndentationCharacterCheckTest extends CheckTestCase<IndentationCheckTests>
3737
assertNoMsg(check, TEST5_1);
3838
assertMsg(check, TEST5_2, "Wrong indentation character (should be tab)");
3939
}
40+
41+
public function testMultilineQuoteIndentation() {
42+
var check = new IndentationCharacterCheck();
43+
check.severity = SeverityLevel.INFO;
44+
assertMsg(check, TEST6, "Wrong indentation character (should be tab)");
45+
}
4046
}
4147

4248
@:enum
@@ -81,4 +87,12 @@ abstract IndentationCheckTests(String) to String {
8187
// bad indentation here
8288
}
8389
}";
90+
91+
var TEST6 =
92+
"class Test {
93+
public function new() {
94+
// breaking comment with quote '
95+
// bad indentation here
96+
}
97+
}";
8498
}

0 commit comments

Comments
 (0)