Skip to content
Permalink
Browse files

cleanup in test

  • Loading branch information...
heckj committed Aug 6, 2019
1 parent 321b674 commit 56c2f9851f40cda75467aa4b195430f66043565a
Showing with 1 addition and 1 deletion.
  1. +1 −1 UsingCombineTests/NotificationCenterPublisherTests.swift
@@ -71,7 +71,7 @@ class NotificationCenterPublisherTests: XCTestCase {
// in the notification itself.
.sink { receivedNotification in
print("passed through: ", receivedNotification)
receivedNotification.name

XCTAssertNil(receivedNotification.userInfo)
XCTAssertNotNil(receivedNotification.object)
XCTAssertEqual(receivedNotification.description, "name = an-example-notification, object = Optional(UsingCombineTests.exampleStruct(aProperty: \"hello\")), userInfo = nil")

0 comments on commit 56c2f98

Please sign in to comment.
You can’t perform that action at this time.