Skip to content

Commit 256335c

Browse files
committed
[nfc] Require MacOS for the vector test.
1 parent c0416b1 commit 256335c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/Interop/Cxx/class/fixits-for-std-vector.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// TODO: why can't we run this on linux?
2+
// REQUIRES: OS=macosx
3+
14
// RUN: rm -rf %t
25
// RUN: split-file %s %t
36
// RUN: not %target-swift-frontend -typecheck -I %t/Inputs %t/test.swift -enable-experimental-cxx-interop 2>&1 | %FileCheck %s
@@ -19,13 +22,13 @@ import Test
1922
import CxxStdlib.vector
2023

2124
public func test(v: V) {
22-
// CHECK: note: C++ method 'begin' that returns an iterator unavailable
25+
// CHECK: note: C++ method 'begin' that returns an iterator is unavailable
2326
// CHECK: note: Do you want to make a Swift iterator instead?
2427
// CHECK: ^~~~~
2528
// CHECK: makeIterator
2629
_ = v.begin()
2730

28-
// CHECK: note: C++ method 'end' that returns an iterator unavailable
31+
// CHECK: note: C++ method 'end' that returns an iterator is unavailable
2932
// CHECK: note: Do you want to compare against 'nil' instead?'
3033
// CHECK: ^~~~
3134
// CHECK: nil

0 commit comments

Comments
 (0)