Skip to content

Commit 983e9e2

Browse files
committed
BasicEventSchedulingTests.swift updated
Small correction to show the nanosecond value without the description of the structure.
1 parent f8aac7c commit 983e9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/EventDrivenSwiftTests/BasicEventSchedulingTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class BasicEventSchedulingTests: XCTestCase {
2222
TestEvent.addListener(self, { (event: TestEvent, priority, dispatchTime) in
2323
self.testValue = event.foo
2424
self.executed = DispatchTime.now()
25-
print("TestEvent where foo = \(event.foo), dispatched at \(dispatchTime)ns, executed at \(self.executed!)ns... Delta is \(DispatchTime(uptimeNanoseconds: self.executed!.uptimeNanoseconds - dispatchTime.uptimeNanoseconds))ns")
25+
print("TestEvent where foo = \(event.foo), dispatched at \(dispatchTime.uptimeNanoseconds)ns, executed at \(self.executed!.uptimeNanoseconds)ns... Delta is \(DispatchTime(uptimeNanoseconds: self.executed!.uptimeNanoseconds - dispatchTime.uptimeNanoseconds).uptimeNanoseconds)ns")
2626
self.exp?.fulfill()
2727
}, executeOn: .taskThread)
2828

0 commit comments

Comments
 (0)