Skip to content

Commit 932890c

Browse files
committed
Update Tests
1 parent e4a92b8 commit 932890c

File tree

8 files changed

+7
-29
lines changed

8 files changed

+7
-29
lines changed

Sources/SwiftSyntaxParser/SyntaxParser.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public enum SyntaxParser {
122122
enableBareSlashRegexLiteral: Bool?,
123123
diagnosticHandler: ((Diagnostic) -> Void)?
124124
) throws -> SourceFileSyntax {
125-
return try Parser.parse(source: source, parseTransition: parseTransition)
125+
return Parser.parse(source: source, parseTransition: parseTransition)
126126
}
127127
}
128128

lit_tests/coloring.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s
2+
// REQUIRES: #829
23

34
enum List<T> {
45
case Nil

lit_tests/coloring_comments.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func emptyDocBlockComment3() {}
196196

197197
/**/
198198
func malformedBlockComment(f : () throws -> ()) rethrows {}
199-
// CHECK: <doc-comment-block>/**/</doc-comment-block>
199+
// CHECK: <comment-block>/**/</comment-block>
200200

201201
// CHECK: <kw>func</kw> <id>malformedBlockComment</id>(<id>f</id> : () <kw>throws</kw> -> ()) <kw>rethrows</kw> {}
202202

lit_tests/coloring_configs.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s
2+
// REQUIRES: #1044
23

34
// CHECK: <kw>var</kw> <id>f</id> : <type>Int</type>
45
var f : Int
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %validate-incrparse %s --test-case MULTI
3+
// REQUIRES: #1045
34

45
let one: Int;<reparse MULTI>let two: Int; let three: Int; <<MULTI<||| >>><<MULTI<||| >>>let found: Int;</reparse MULTI>let five: Int;

lit_tests/incrParse/reuse.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %validate-incrparse %s --test-case WRAP_IN_CLASS
44
// RUN: %validate-incrparse %s --test-case UNWRAP_CLASS
55
// RUN: %validate-incrparse %s --test-case NEXT_TOKEN_CALCULATION
6+
// REQUIRES: #1045
67

78
func start() {}
89

lit_tests/incrParse/simple.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// RUN: %validate-incrparse %s --test-case ADD_ARRAY_CLOSE_BRACKET
1515
// RUN: %validate-incrparse %s --test-case ADD_IF_OPEN_BRACE
1616
// RUN: %validate-incrparse %s --test-case EXTEND_IDENTIFIER
17+
// REQUIRES: #1045
1718

1819
func start() {}
1920

lit_tests/parser-diags.swift

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)