diff --git a/tests/cases/mod.html b/tests/cases/mod.html
index 446c319..fc938cd 100644
--- a/tests/cases/mod.html
+++ b/tests/cases/mod.html
@@ -24,3 +24,6 @@
mod? x"$FOO.just"
+
+[doc("documented module")]
+mod foo
diff --git a/tests/cases/mod.just b/tests/cases/mod.just
index 696f19f..c101b92 100644
--- a/tests/cases/mod.just
+++ b/tests/cases/mod.just
@@ -24,3 +24,6 @@ mod foo"foo.just"
# not a shell-expanded string
mod? x"$FOO.just"
+
+[doc("documented module")]
+mod foo