Skip to content

Commit bc9ee85

Browse files
authored
Merge pull request #68308 from compnerd/tee
tests: remove gratuitous use of `tee`
2 parents afd4288 + 046b3ff commit bc9ee85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Macros/macro_plugin_basic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \
1818
// RUN: -module-name MyApp \
1919
// RUN: %t/test.swift \
20-
// RUN: 2>&1 | tee %t/macro-expansions.txt
20+
// RUN: > %t/macro-expansions.txt 2>&1
2121

2222
// RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt
2323

@@ -28,7 +28,7 @@
2828
// RUN: -Rmacro-loading \
2929
// RUN: -module-name MyApp \
3030
// RUN: %t/test.swift \
31-
// RUN: 2>&1 | tee %t/macro-loading.txt
31+
// RUN: > %t/macro-loading.txt 2>&1
3232

3333
// RUN: %FileCheck -check-prefix=DIAGS %s < %t/macro-loading.txt
3434

test/Macros/macro_plugin_error.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \
1818
// RUN: -module-name MyApp \
1919
// RUN: %t/test.swift \
20-
// RUN: 2>&1 | tee %t/macro-expansions.txt
20+
// RUN: > %t/macro-expansions.txt 2>&1
2121

2222
// RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt
2323

0 commit comments

Comments
 (0)