diff --git a/exercises/pov/package.yaml b/exercises/pov/package.yaml index dcbb5be88..b0d67fc94 100644 --- a/exercises/pov/package.yaml +++ b/exercises/pov/package.yaml @@ -1,5 +1,5 @@ name: pov -version: 1.0.0.2 +version: 1.1.1.3 dependencies: - base diff --git a/exercises/pov/test/Tests.hs b/exercises/pov/test/Tests.hs index 88f22db8d..9a9744bc9 100644 --- a/exercises/pov/test/Tests.hs +++ b/exercises/pov/test/Tests.hs @@ -68,14 +68,11 @@ specs = describe "pov" $ do , "uncle" , "cousin-1" ] - it "Can trace from a leaf to a leaf" $ - tracePathBetween "kid-a" "cousin-0" cousins - `shouldBe` Just [ "kid-a" - , "x" - , "parent" - , "grandparent" - , "uncle" - , "cousin-0" ] + it "Can find path from nodes other than x" $ + tracePathBetween "a" "c" flat + `shouldBe` Just [ "a" + , "root" + , "c" ] it "Cannot trace if destination does not exist" $ tracePathBetween "x" "NOT THERE" cousins