We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7cb16 commit 969334fCopy full SHA for 969334f
shared/src/test/scala/specs/BasicSpec.scala
@@ -368,6 +368,21 @@ class BasicSpec extends WordSpec with Matchers {
368
v1 := 11
369
modified.toList should be(List(22, 33, 11))
370
}
371
+ // TODO: add proper support for wrapping covariant
372
+ /*"test different typed wrapping" in {
373
+ val v1 = Var(1)
374
+ val v2 = Var("two")
375
+
376
+ val modified = ListBuffer.empty[Any]
377
378
+ Observable.wrap(v1, v2).attach { v =>
379
+ modified += v
380
+ }
381
382
+ v1 := 11
383
+ v2 := "two two"
384
+ modified.toList should be(List(11, "two two"))
385
+ }*/
386
"test dsl wrapping" in {
387
val v1 = Var(1)
388
val v2 = Var(2)
0 commit comments