Skip to content

Commit e8df91a

Browse files
committed
Extend the expected reparse range for REPLACE test case
After swiftlang/swift#19782 is merged, statements adjacent to an edit will no longer be reused. Hence the REPLACE_BY_LONGER line is expected to be reparsed.
1 parent 4180bb0 commit e8df91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lit_tests/simple.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ func start() {}
1414
func foo() {
1515
}
1616

17-
_ = <<REPLACE<6|||7>>></reparse REPLACE>
18-
_ = <<REPLACE_BY_LONGER<6|||"Hello World">>>
17+
_ = <<REPLACE<6|||7>>>
18+
_ = <<REPLACE_BY_LONGER<6|||"Hello World">>></reparse REPLACE>
1919
_ = <<REPLACE_BY_SHORTER<"Hello again"|||"a">>>
2020
<<INSERT<|||foo()>>>
2121
<<REMOVE<print("abc")|||>>>

0 commit comments

Comments
 (0)