Skip to content

Commit 092be75

Browse files
xwuMax Moiseev
authored andcommitted
Another minor fixup for type inference in expectEqualSequence
(cherry picked from commit 7578822)
1 parent dd63f1c commit 092be75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/stdlib/Integers.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,9 @@ tests.test("Parsing/LosslessStringConvertible") {
369369
return text.split(separator: " ").map { T(String($0)) }.flatMap { $0 }
370370
}
371371

372-
expectEqualSequence([1, 2, 3], _toArray("1 2 3"))
372+
expectEqualSequence([1, 2, 3], _toArray("1 2 3") as [Int])
373373
expectEqualSequence(
374-
[Int](), _toArray("21-50 ff6600 10000000000000000000000000"))
374+
[Int](), _toArray("21-50 ff6600 10000000000000000000000000") as [Int])
375375
}
376376

377377
tests.test("HeterogeneousEquality") {

0 commit comments

Comments
 (0)