lint
This commit is contained in:
parent
a3fdd633a6
commit
328439049a
|
@ -230,7 +230,6 @@ open class Task {
|
|||
TaskCenter.default.remove(self)
|
||||
}
|
||||
|
||||
|
||||
// MARK: - Action
|
||||
|
||||
/// The number of actions in this task.
|
||||
|
|
|
@ -4,7 +4,6 @@ import XCTest
|
|||
final class MonthdayTests: XCTestCase {
|
||||
|
||||
func testIs() {
|
||||
// ! Be careful the time zone problem.
|
||||
let d = Date(year: 2019, month: 1, day: 1)
|
||||
XCTAssertTrue(d.is(.january(1), in: TimeZone.shanghai))
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ final class PlanTests: XCTestCase {
|
|||
XCTAssertTrue(n!.intervalSinceNow.isAlmostEqual(to: 2.weeks + 1.days, leeway: leeway))
|
||||
}
|
||||
|
||||
|
||||
func testDistant() {
|
||||
let distantPast = Plan.distantPast.makeIterator().next()
|
||||
XCTAssertNotNil(distantPast)
|
||||
|
|
|
@ -4,7 +4,6 @@ import XCTest
|
|||
final class WeekdayTests: XCTestCase {
|
||||
|
||||
func testIs() {
|
||||
// ! Be careful the time zone problem.
|
||||
let d = Date(year: 2019, month: 1, day: 1)
|
||||
XCTAssertTrue(d.is(.tuesday, in: TimeZone.shanghai))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue