fix PMap test

This commit is contained in:
Mark Harrah 2010-09-04 08:12:17 -04:00
parent 30e47ace17
commit f14e7883ed
1 changed files with 1 additions and 1 deletions

View File

@ -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") }
} }