[test] Mark some tests as requiring Swift Syntax (#70493)

Some of the tests now depend on features provided by Swift Syntax, and
will fail to pass if building without Swift Syntax support.

This commits marks all the tests I know fail to pass when Swift Syntax
is disabled.

- #70281 modified `ASTGen/verify-parse.swift`
- #70287 created `refactoring/SyntacticRename/operator.swift` and `SourceKit/RelatedIdents/operator.swift`
- #70389 modified `SourceKit/Refactoring/basic.swift` and indirectly
  modified all `refactoring/ExtractFunction/*` tests.
This commit is contained in:
Daniel Rodríguez Troitiño
2023-12-15 13:33:14 -08:00
committed by GitHub
parent 1f9b074a8d
commit e60785e1ef
19 changed files with 25 additions and 4 deletions

View File

@@ -12,3 +12,4 @@ func foo() -> Int{
// RUN: diff -u %S/Outputs/basic/L3-5.swift.expected %t.result/L3-5.swift
// RUN: %refactor -extract-function -source-filename %s -pos=3:1 -end-pos=4:26 >> %t.result/L3-4.swift
// RUN: diff -u %S/Outputs/basic/L3-4.swift.expected %t.result/L3-4.swift
// REQUIRES: swift_swift_parser