Skip to content

Commit 969334f

Browse files
committed
Added additional todo test and commented out.
1 parent 0b7cb16 commit 969334f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

shared/src/test/scala/specs/BasicSpec.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,21 @@ class BasicSpec extends WordSpec with Matchers {
368368
v1 := 11
369369
modified.toList should be(List(22, 33, 11))
370370
}
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+
}*/
371386
"test dsl wrapping" in {
372387
val v1 = Var(1)
373388
val v2 = Var(2)

0 commit comments

Comments
 (0)