Skip to content

Commit a306dbc

Browse files
committed
Tests: Use -o instead of stdout redirect in async_sequence_existential.swift.
This will hopefully prevent random line breaks from being inserted into the `-dump-ast` output and interfering with FileCheck's matching. Resolves rdar://148855879.
1 parent b36cee2 commit a306dbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Concurrency/async_sequence_existential.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-swift-frontend -target %target-swift-5.1-abi-triple %s -emit-sil -o /dev/null -verify
22

3-
// RUN: %target-swift-frontend -target %target-swift-5.1-abi-triple %s -dump-ast 2>&1 | %FileCheck %s
3+
// RUN: %target-swift-frontend -target %target-swift-5.1-abi-triple -primary-file %s -dump-ast -o %t.ast.txt
4+
// RUN: %FileCheck %s < %t.ast.txt
45

56
// REQUIRES: concurrency
67

0 commit comments

Comments
 (0)