Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Nov 17, 2023
1 parent 8837b85 commit 7bb56d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactive/src/test/scala/colibri/ReactiveSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ class ReactiveSpec extends AsyncFlatSpec with Matchers {
val eventAVar2 = eventVar.subTypeSeed[EventA](null)
val eventNotAVar = eventNotVar.prismSeedOptic(GenPrism[Event, EventA])(null)
val eventAVarRx = eventVar.prismOptic(GenPrism[Event, EventA])
val eventAVarRx2 = eventVar.subType[EventA]
val eventAVarRx2 = eventVar.subType[EventA]

eventAVar.unsafeSubscribe()
eventAVar2.unsafeSubscribe()
Expand All @@ -901,7 +901,7 @@ class ReactiveSpec extends AsyncFlatSpec with Matchers {
eventAVarRx.nowIfSubscribed().get.now() shouldBe EventA(0)
eventAVarRx2.nowIfSubscribed().get.now() shouldBe EventA(0)

val prevEventAVarRx = eventAVarRx.nowIfSubscribed().get
val prevEventAVarRx = eventAVarRx.nowIfSubscribed().get
val prevEventAVarRx2 = eventAVarRx2.nowIfSubscribed().get
eventAVar.set(EventA(1))

Expand Down

0 comments on commit 7bb56d5

Please sign in to comment.