From 4ac0f35951eb2947d772331cdcae3da3184e7d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eimantas=20Vaic=CC=8Ciu=CC=84nas?= Date: Wed, 14 Aug 2019 15:10:14 +0300 Subject: [PATCH] Adjust type visibility --- NimbleFeedback/NimbleFeedback.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NimbleFeedback/NimbleFeedback.swift b/NimbleFeedback/NimbleFeedback.swift index 777cea7..3a46608 100644 --- a/NimbleFeedback/NimbleFeedback.swift +++ b/NimbleFeedback/NimbleFeedback.swift @@ -3,7 +3,7 @@ import Nimble /// A basic protocol that every state type must conform to in order to be testable. -protocol State { +public protocol State { associatedtype Event @@ -17,7 +17,7 @@ protocol State { } -extension State { +public extension State { /// Convenience method to mutate a state. /// @@ -28,7 +28,7 @@ extension State { } } -extension Expectation where T: State { +public extension Expectation where T: State { typealias Query = (T) -> Q? @@ -61,7 +61,7 @@ extension Expectation where T: State { // MARK: - StateChangeExpectation -struct StateChangeExpectation { +public struct StateChangeExpectation { let expectation: Expectation let events: [S.Event]