Skip to content

Commit

Permalink
Test [doc] attribute on module
Browse files Browse the repository at this point in the history
  • Loading branch information
laniakea64 committed Aug 10, 2024
1 parent 6fb7740 commit 3325db6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cases/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@

<span class="Comment"># not a shell-expanded string</span>
<span class="Keyword">mod</span><span class="Conditional">?</span> <span class="Identifier">x</span><span class="String">"$FOO.just"</span>

<span class="Type">[doc(</span><span class="String">"documented module"</span><span class="Type">)]</span>
<span class="Keyword">mod</span> <span class="Identifier">foo</span>
3 changes: 3 additions & 0 deletions tests/cases/mod.just
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ mod foo"foo.just"

# not a shell-expanded string
mod? x"$FOO.just"

[doc("documented module")]
mod foo

0 comments on commit 3325db6

Please sign in to comment.