summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index 7316ed11..9dc7aa6d 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -145,6 +145,9 @@ impl Args {
}
fn library() -> Library {
+ /// # Test
+ /// ## Category
+ /// test
#[func]
fn test(args: &mut typst::model::Args) -> SourceResult<Value> {
let lhs = args.expect::<Value>("left-hand side")?;
@@ -155,6 +158,9 @@ fn library() -> Library {
Ok(Value::None)
}
+ /// # Print
+ /// ## Category
+ /// test
#[func]
fn print(args: &mut typst::model::Args) -> SourceResult<Value> {
print!("> ");