Skip to content

Commit

Permalink
Merge pull request #74 from danielmartinprieto/master
Browse files Browse the repository at this point in the history
Fix testDateInISO8601Format() availability
  • Loading branch information
naoty authored Nov 24, 2016
2 parents 417a359 + c83d1bb commit 02c1b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/String+TimepieceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class StringTests: XCTestCase {
XCTAssertEqual(date?.day, 15)
}

@available(iOS 10.0, *)
@available(iOS 10.0, OSX 10.12, *)
func testDateInISO8601Format() {
let date = "2014-08-15T20:25:43+0900".dateInISO8601Format()
XCTAssertEqual(date?.year, 2014)
Expand Down

0 comments on commit 02c1b4e

Please sign in to comment.