diff --git a/test/Project.toml b/test/Project.toml index c7921386..1f03d00c 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -11,5 +11,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -Documenter = "0.27" +Documenter = "1" Zygote = "0.6" diff --git a/test/examples/advancedtutorial.jl b/test/examples/advancedtutorial.jl index 9e71b865..df196a87 100644 --- a/test/examples/advancedtutorial.jl +++ b/test/examples/advancedtutorial.jl @@ -211,7 +211,7 @@ end (::RenameWalk)(recurse, x) = Functors.DefaultWalk()(recurse, x) # I must admit that thinking about what this does makes me a bit dizzy... -namedgraph = Functors.fmap(walk, identity, graph) +namedgraph = Functors.execute(walk, graph) @test name.(vertices(namedgraph)) == ["in changed", "layer1", "layer2"] @test graph(ones(2, 1)) == namedgraph(ones(2,1))