Skip to content

Commit afdce75

Browse files
committed
tests: small improvement for Misc/verify-swift-feature-testing.test-sh
The `git grep` command fails if the repository has a branch named `test`. Inserting a `--` in the git command line makes it clear that `test` is the directory and not the branch
1 parent cbacece commit afdce75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Misc/verify-swift-feature-testing.test-sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def find_matches(swift_src_root):
114114
# Be careful to not use RUN with a colon after it or Lit will pick
115115
# it up.
116116
"RUN[:].*-enable-(experimental|upcoming)-feature",
117+
"--",
117118
"test",
118119
"validation-test",
119120
],

0 commit comments

Comments
 (0)