Skip to content

Commit

Permalink
Adjust type visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
eimantas committed Aug 14, 2019
1 parent 9664030 commit 4ac0f35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NimbleFeedback/NimbleFeedback.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -17,7 +17,7 @@ protocol State {
}


extension State {
public extension State {

/// Convenience method to mutate a state.
///
Expand All @@ -28,7 +28,7 @@ extension State {
}
}

extension Expectation where T: State {
public extension Expectation where T: State {

typealias Query<Q> = (T) -> Q?

Expand Down Expand Up @@ -61,7 +61,7 @@ extension Expectation where T: State {

// MARK: - StateChangeExpectation

struct StateChangeExpectation<S: State> {
public struct StateChangeExpectation<S: State> {

let expectation: Expectation<S>
let events: [S.Event]
Expand Down

0 comments on commit 4ac0f35

Please sign in to comment.