mirror of https://github.com/sbt/sbt.git
fix PMap test
This commit is contained in:
parent
30e47ace17
commit
f14e7883ed
|
|
@ -12,7 +12,7 @@ object PMapTest
|
||||||
mp(Some("asdf")) = "a"
|
mp(Some("asdf")) = "a"
|
||||||
mp(Some(3)) = 9
|
mp(Some(3)) = 9
|
||||||
val x = Some(3) :^: Some("asdf") :^: KNil
|
val x = Some(3) :^: Some("asdf") :^: KNil
|
||||||
val y = x.map[Id](mp)
|
val y = x.transform[Id](mp)
|
||||||
val z = y.down
|
val z = y.down
|
||||||
z match { case 9 :+: "a" :+: HNil => println("true") }
|
z match { case 9 :+: "a" :+: HNil => println("true") }
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue