Skip to content

Commit d5cdbaa

Browse files
committed
[Test] Lessen some tests to make stdlib easier to update.
1 parent bdfedf7 commit d5cdbaa

File tree

2 files changed

+7
-832
lines changed

2 files changed

+7
-832
lines changed

test/SourceKit/InterfaceGen/gen_stdlib.swift

+7-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,10 @@ var x: Int
5252
// GROUP1: <\GROUPS>
5353

5454
// RUN: %sourcekitd-test -req=interface-gen -module Swift -group-name Zip > %t.zip.response
55-
// RUN: diff -u %s.zip.response %t.zip.response
55+
// RUN: FileCheck -check-prefix=CHECK-ZIP -input-file %t.zip.response %s
56+
// CHECK-ZIP: public func zip<Sequence1 : SequenceType, Sequence2 : SequenceType>(sequence1: Sequence1, _ sequence2: Sequence2) -> Zip2Sequence<Sequence1, Sequence2>
57+
// CHECK-ZIP: public struct Zip2Generator<Generator1 : GeneratorType, Generator2 : GeneratorType> : GeneratorType {
58+
// CHECK-ZIP: public struct Zip2Sequence<Sequence1 : SequenceType, Sequence2 : SequenceType> : SequenceType {
59+
// Zip group cannot include Int
60+
// CHECK-ZIP-NOT: struct Int : SignedIntegerType, Comparable, Equatable {
61+
// CHECK-ZIP-NOT: extension String.UTF16View.Index {

0 commit comments

Comments
 (0)