Skip to content

Commit

Permalink
#668 Fixed unit test with toClock in dropAll zero options
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed May 11, 2019
1 parent f6b5127 commit 584cab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SwiftDateTests/TestFormatters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ class TestFormatters: XCTestCase {
XCTAssert(value2 == "54:00", "Failed to format clock")
#else
let value2 = (4.minutes + 50.minutes).timeInterval.toClock(zero: DateComponentsFormatter.ZeroFormattingBehavior.dropAll)
XCTAssert(value2 == "54:00", "Failed to format clock")
XCTAssert(value2 == "54", "Failed to format clock")
#endif
}

Expand Down

0 comments on commit 584cab1

Please sign in to comment.