Skip to content

Commit 35f39de

Browse files
committed
Update tests
1 parent 77e3acc commit 35f39de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/SwiftSyntaxBuilderTest/StringInterpolationTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ final class StringInterpolationTests: XCTestCase {
418418
"""
419419
420420
1 │ /*comment*/ invalid /*comm*/
421-
∣ ╰─ unexpected trivia 'invalid'
421+
∣ ╰─ error: unexpected trivia 'invalid'
422422
423423
"""
424424
)
@@ -435,8 +435,8 @@ final class StringInterpolationTests: XCTestCase {
435435
"""
436436
437437
1 │ return 1
438-
∣ │ ╰─ expected declaration
439-
∣ ╰─ unexpected code 'return 1' before declaration
438+
∣ │ ╰─ error: expected declaration
439+
∣ ╰─ error: unexpected code 'return 1' before declaration
440440
441441
"""
442442
)
@@ -453,8 +453,8 @@ final class StringInterpolationTests: XCTestCase {
453453
"""
454454
455455
1 │ struct Foo {}
456-
∣ │ ╰─ expected statement
457-
∣ ╰─ unexpected code 'struct Foo {}' before statement
456+
∣ │ ╰─ error: expected statement
457+
∣ ╰─ error: unexpected code 'struct Foo {}' before statement
458458
459459
"""
460460
)

0 commit comments

Comments
 (0)