Import Failable instead of Validation module into tests

This commit is contained in:
Caleb Kleveter 2018-12-21 08:25:22 -06:00
parent 244d61a3b8
commit ce7a9362ed
No known key found for this signature in database
GPG Key ID: B38DBD5CF2C98D69
7 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
final class FailableTests: XCTestCase {
func testInit()throws {

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
final class ValidationErrorTests: XCTestCase {
func testInit()throws {

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
internal struct EmptyValidation<T>: Validation {
typealias Supported = T

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
internal struct LengthRange10To1028<C>: LengthValidation where C: Collection {
typealias Supported = C

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
internal struct NumberThousand: InRangeValidation {
typealias Supported = Int

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
typealias OptionalStringLength = NotNilValidate<LengthRange10To1028<String>>

View File

@ -1,5 +1,5 @@
import XCTest
@testable import Validation
@testable import Failable
internal struct USPhoneNumber: RegexValidation {
static let pattern = "1?-?\\(?[0-9]{3}\\)?-?[0-9]{3}-?[0-9]{4}"