Skip to content

Commit

Permalink
fix conflict with nimble bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbonin committed Oct 16, 2020
1 parent af1033d commit 30673d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Nimble_Snapshots/CurrentTestCaseTracker.swift
Expand Up @@ -3,7 +3,7 @@ import XCTest
/// Helper class providing access to the currently executing XCTestCase instance, if any
@objc
public final class CurrentTestCaseTracker: NSObject, XCTestObservation {
@objc public static let shared = CurrentTestCaseTracker()
@objc(sharedInstance) public static let shared = CurrentTestCaseTracker()

private(set) var currentTestCase: XCTestCase?

Expand Down
Expand Up @@ -8,7 +8,7 @@
@implementation XCTestObservationCenter (CurrentTestCaseTracker)

+ (void)load {
[[self sharedTestObservationCenter] addTestObserver:[CurrentTestCaseTracker shared]];
[[self sharedTestObservationCenter] addTestObserver:[CurrentTestCaseTracker sharedInstance]];
}

@end

0 comments on commit 30673d8

Please sign in to comment.