Fixing tests
This fixes a missing .whitespace in testForStatementWithContinue and handles indentation in testRepeatWhileStatement
This commit is contained in:
parent
b8bc4ff2c3
commit
2af2ec9d57
@ -206,6 +206,7 @@ final class StatementTests: SyntaxHighlighterTestCase {
|
|||||||
.plainText("{"),
|
.plainText("{"),
|
||||||
.whitespace(" "),
|
.whitespace(" "),
|
||||||
.token("continue",.keyword),
|
.token("continue",.keyword),
|
||||||
|
.whitespace(" "),
|
||||||
.plainText("}")
|
.plainText("}")
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
@ -232,17 +233,9 @@ final class StatementTests: SyntaxHighlighterTestCase {
|
|||||||
.whitespace(" "),
|
.whitespace(" "),
|
||||||
.plainText("{"),
|
.plainText("{"),
|
||||||
.whitespace("\n "),
|
.whitespace("\n "),
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.token("print", .call),
|
.token("print", .call),
|
||||||
.plainText("(x)"),
|
.plainText("(x)"),
|
||||||
.whitespace("\n "),
|
.whitespace("\n "),
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.whitespace(" "),
|
|
||||||
.plainText("x"),
|
.plainText("x"),
|
||||||
.whitespace(" "),
|
.whitespace(" "),
|
||||||
.plainText("="),
|
.plainText("="),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user