Skip to content

Commit 5454b86

Browse files
authored
Merge pull request #3482 from apple/stdlib-ArrayBridge-test-fixes
2 parents ca3512f + 39c9c95 commit 5454b86

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/1_stdlib/ArrayBridge.swift

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,6 @@ struct BridgedSwift : CustomStringConvertible, _ObjectiveCBridgeable {
147147
return BridgedSwift(trak.value + 1)
148148
}
149149

150-
static func printStats() {
151-
print(
152-
"bridge operations "
153-
+ "(from, to) = (\(bridgeFromOperationCount), \(bridgeToOperationCount))")
154-
}
155-
156150
static func resetStats() {
157151
bridgeFromOperationCount = 0
158152
bridgeToOperationCount = 0
@@ -486,7 +480,7 @@ func testExplicitlyBridged() {
486480
}
487481
testExplicitlyBridged()
488482

489-
func testRoundTrip() {
483+
tests.test("testRoundTrip") {
490484
class Test : NSObject {
491485
@objc dynamic func call(_ array: NSArray) -> NSArray {
492486

@@ -512,7 +506,7 @@ func testRoundTrip() {
512506
expectEqual(0, bridgeFromOperationCount)
513507
expectEqual(0, bridgeToOperationCount)
514508
}
515-
testRoundTrip()
509+
516510
//===--- Non-bridging -----------------------------------------------------===//
517511
// X is not bridged to Objective-C
518512
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)