Skip to content

Commit 5a383c8

Browse files
authored
Fix merge artifacts NoError -> Never (#785)
1 parent 3d9ccab commit 5a383c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/ReactiveSwiftTests/SignalProducerLiftingSpec.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class SignalProducerLiftingSpec: QuickSpec {
425425

426426
describe("scanMap(_:_:)") {
427427
it("should update state and output separately") {
428-
let (baseProducer, observer) = SignalProducer<Int, NoError>.pipe()
428+
let (baseProducer, observer) = SignalProducer<Int, Never>.pipe()
429429
let producer = baseProducer.scanMap(false) { state, value -> (Bool, String) in
430430
return (true, state ? "\(value)" : "initial")
431431
}
@@ -449,7 +449,7 @@ class SignalProducerLiftingSpec: QuickSpec {
449449

450450
describe("scanMap(into:_:)") {
451451
it("should update state and output separately") {
452-
let (baseProducer, observer) = SignalProducer<Int, NoError>.pipe()
452+
let (baseProducer, observer) = SignalProducer<Int, Never>.pipe()
453453
let producer = baseProducer.scanMap(into: false) { (state: inout Bool, value: Int) -> String in
454454
defer { state = true }
455455
return state ? "\(value)" : "initial"

Tests/ReactiveSwiftTests/SignalSpec.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ class SignalSpec: QuickSpec {
836836

837837
describe("scanMap(_:_:)") {
838838
it("should update state and output separately") {
839-
let (baseSignal, observer) = Signal<Int, NoError>.pipe()
839+
let (baseSignal, observer) = Signal<Int, Never>.pipe()
840840
let signal = baseSignal.scanMap(false) { state, value -> (Bool, String) in
841841
return (true, state ? "\(value)" : "initial")
842842
}
@@ -860,7 +860,7 @@ class SignalSpec: QuickSpec {
860860

861861
describe("scanMap(into:_:)") {
862862
it("should update state and output separately") {
863-
let (baseSignal, observer) = Signal<Int, NoError>.pipe()
863+
let (baseSignal, observer) = Signal<Int, Never>.pipe()
864864
let signal = baseSignal.scanMap(into: false) { (state: inout Bool, value: Int) -> String in
865865
defer { state = true }
866866
return state ? "\(value)" : "initial"

0 commit comments

Comments
 (0)