Skip to content

Commit e16e682

Browse files
author
Lance Parker
committed
Fix build error
1 parent ab796b8 commit e16e682

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TestFoundation/TestNSString.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ struct ComparisonTest {
12351235
) {
12361236
self.lhs = lhs
12371237
self.rhs = rhs
1238-
self.behavior = expectedFailure.isEmpty ? .run : .expectedFailure(reason)
1238+
self.behavior = reason.isEmpty ? .run : .expectedFailure(reason)
12391239
self.loc = line
12401240
}
12411241

@@ -1245,12 +1245,12 @@ struct ComparisonTest {
12451245
) {
12461246
self.lhs = lhs
12471247
self.rhs = rhs
1248-
self.behavior = skip.isEmpty ? .run : .skip(reason)
1248+
self.behavior = reason.isEmpty ? .run : .skip(reason)
12491249
self.loc = line
12501250
}
12511251
}
12521252

1253-
let comparisonTests = [
1253+
let comparisonTests: [ComparisonTest] = [
12541254
ComparisonTest("", ""),
12551255
ComparisonTest("", "a"),
12561256

0 commit comments

Comments
 (0)