Skip to content
Snippets Groups Projects
Select Git revision
  • 2708f07f4ee6aac961257f3ce1e48b8abc0d0b8e
  • main default protected
  • development
  • integration
  • v1.1.5
  • v1.1.4
  • v1.1.3
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.0
11 results

AppFeature.swift

Blame
  • GetVersion.swift 380 B
    import Bindings
    import XCTestDynamicOverlay
    
    public struct GetVersion {
      public var run: () -> String
    
      public func callAsFunction() -> String {
        run()
      }
    }
    
    extension GetVersion {
      public static let live = GetVersion(
        run: BindingsGetVersion
      )
    }
    
    extension GetVersion {
      public static let unimplemented = GetVersion(
        run: XCTUnimplemented("\(Self.self)")
      )
    }