Skip to content

Commit 207f1ee

Browse files
author
Amritpan Kaur
committed
[Tests] Fix failing tests.
1 parent 95e5440 commit 207f1ee

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

test/Concurrency/async_overload_filtering.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var a: String? = nil
1818

1919
// CHECK: attempting disjunction choice $T0 bound to decl async_overload_filtering.(file).filter_async(fn2:)
2020
// CHECK-NEXT: overload set choice binding $T0 := {{.*}}
21-
// CHECK-NEXT: increasing score due to sync-in-asynchronous
21+
// CHECK-NEXT: increasing 'sync-in-asynchronous' score by 1
2222
// CHECK-NEXT: solution is worse than the best solution
2323
filter_async {
2424
Obj()

test/Constraints/interpolation_segments.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
// We also check that the type checker did not need to evaluate any
1414
// DefaultStringInterpolation overloads in the initial expression.
1515

16-
// CHECK-NOT: ---Solution---
16+
// CHECK-NOT: Constraint restrictions:
17+
// CHECK: --- Solution #{{.*}}---
1718
// CHECK: Overload choices:
18-
// CHECK-NOT: Swift.(file).DefaultStringInterpolation.append
19-
// CHECK: Constraint restrictions:
19+
// CHECK: Swift.(file).DefaultStringInterpolation.append
2020

2121
_ = "\(1), \(2), \(3), \(4)"

test/Constraints/one_way_solve.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ func testTernaryOneWayOverload(b: Bool) {
3838

3939
// CHECK: solving component #1
4040
// CHECK: Initial bindings: $T11 := Int8
41-
// CHECK: found solution {{.*}} 2 0 0 0 0 0
41+
// CHECK: (found solution: [non-default literal(s) = 2] [use of overloaded unapplied function(s) = 2])
4242

43-
// CHECK: composed solution {{.*}} 2 0 0 0 0 0
44-
// CHECK-NOT: composed solution {{.*}} 2 0 0 0 0 0
43+
// CHECK: (composed solution: [non-default literal(s) = 2] [use of overloaded unapplied function(s) = 2])
44+
// CHECK-NOT: (composed solution: [non-default literal(s) = 2] [use of overloaded unapplied function(s) = 2])
4545
let _: Int8 = b ? Builtin.one_way(int8Or16(17)) : Builtin.one_way(int8Or16(42))
4646
}

0 commit comments

Comments
 (0)