···130130 let code = Result.get_ok @@ parse_string {|\route-asset{}|} in
131131 let uri = URI.of_string_exn "http://localhost/tree" in
132132 let expanded =
133133- let@ () = Resolver.Scope.easy_run in
134134- Expand.Builtins.register_builtins Expand.builtins;
133133+ Resolver.Scope.run ~init_visible: Expand.initial_visible_trie @@ fun () ->
135134 Expand.expand ~forest code
136135 in
137136 let tree = mk_tree ~uri ~code ~expanded in
···274273 (* 012345678901234*)
275274 let code = Result.get_ok @@ parse_string {|\foo{\bar{baz}}|} in
276275 let expanded =
277277- let@ () = Resolver.Scope.easy_run in
276276+ Resolver.Scope.run ~init_visible: Expand.initial_visible_trie @@ fun () ->
278277 Expand.expand ~forest code
279278 in
280279 let uri = URI.of_string_exn "localhost:foo" in