Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Nov 15, 2024
1 parent 45200d5 commit 8c8c2f1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/html_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,11 @@ async fn module_doc() {
let mut module_docs = vec![];

for (short_path, doc_nodes) in &ctx.doc_nodes {
let render_ctx =
RenderContext::new(&ctx, doc_nodes, UrlResolveKind::File(short_path));
let render_ctx = RenderContext::new(
&ctx,
doc_nodes,
UrlResolveKind::File { file: short_path },
);
let module_doc = jsdoc::ModuleDocCtx::new(&render_ctx, short_path);

module_docs.push(module_doc);
Expand Down

0 comments on commit 8c8c2f1

Please sign in to comment.