Skip to content

Commit

Permalink
Updated to Swift 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PGLongo committed Oct 13, 2015
1 parent a8040c4 commit 2e9a351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PGLFormatterTests/Extensions/IntTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ class IntTests: XCTestCase {
let formatter = PGLFormatter.timeFormatter
XCTAssertNotNil(formatter, "Formatter should be not nil")
formatter.unitsStyle = .Abbreviated
XCTAssertEqual("-42s", (-42).formatTime())
XCTAssertEqual("42s", (42).formatTime())
XCTAssertEqual("1h 10m", 4200.formatTime())
XCTAssertEqual("-42s", (Int(-42)).formatTime()!)
XCTAssertEqual("42s", (Int(42)).formatTime()!)
XCTAssertEqual("1h 10m", (Int(4200)).formatTime()!)

}
}
Expand Down

0 comments on commit 2e9a351

Please sign in to comment.