diff --git a/EZProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/home.xcuserdatad/UserInterfaceState.xcuserstate b/EZProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/home.xcuserdatad/UserInterfaceState.xcuserstate index 583b299..42d8717 100644 Binary files a/EZProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/home.xcuserdatad/UserInterfaceState.xcuserstate and b/EZProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/home.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/EZProgressHUDTests/EZProgressHUDTests.swift b/EZProgressHUDTests/EZProgressHUDTests.swift index 734f46d..10f9948 100644 --- a/EZProgressHUDTests/EZProgressHUDTests.swift +++ b/EZProgressHUDTests/EZProgressHUDTests.swift @@ -11,9 +11,7 @@ import XCTest class EZProgressHUDTests: XCTestCase { - override func setUp() { - hnkTest() - } + override func setUp() {} override func tearDown() {} @@ -64,6 +62,13 @@ class EZProgressHUDTests: XCTestCase { let hud = EZProgressHUD.setProgress(with: options) XCTAssertNotNil(hud) + + let opts = EZProgressOptions { (_) in } + XCTAssertNotNil(opts) + + let hd = EZProgressHUD.setProgress(with: opts) + + XCTAssertNotNil(hd) } func testPerformanceExample() {