Added changed '.subscribe' to '.subscribeNext' to alleviate error output in debug console.

This commit is contained in:
Ben Shewmake 2016-05-27 17:57:09 -06:00
parent d2eec7c478
commit db62a3cf3f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ example("single with conditions") {
Observable.of("🐱", "🐰", "🐶", "🐸", "🐷", "🐵")
.single { $0 == "🔵" }
.subscribe { print($0) }
.subscribeNext { print($0) }
.addDisposableTo(disposeBag)
}
/*: