Skip to content

Commit

Permalink
fix Regex def in Tests (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrown authored and na-gupta committed Mar 20, 2017
1 parent 2a23821 commit 58773d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/HeliumLoggerTests/TestStreamLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ class TestStreamLogger : XCTestCase {
}

#if os(Linux)
typealias RegularExpressionType = RegularExpression
#if swift(>=3.1)
typealias RegularExpressionType = NSRegularExpression
#else
typealias RegularExpressionType = RegularExpression
#endif
#else
typealias RegularExpressionType = NSRegularExpression
#endif
Expand Down

0 comments on commit 58773d9

Please sign in to comment.