Fix the unit test compile issue

This commit is contained in:
DreamPiggy 2020-03-03 19:46:54 +08:00
parent 04e7af0e5b
commit 202174df75
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class IndicatorTests: XCTestCase {
func testProgressIndicator() throws {
let expectation = self.expectation(description: "Progress indicator")
let binding = Binding<Bool>(wrappedValue: true)
let progress = Binding<CGFloat>(wrappedValue: 0)
let progress = Binding<Double>(wrappedValue: 0)
let indicator = ProgressIndicator(binding, progress: progress)
ViewHosting.host(view: indicator)
let indicatorView = try indicator.inspect().actualView().platformView().wrapped