diff options
Diffstat (limited to 'tests/src/tests.rs')
| -rw-r--r-- | tests/src/tests.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 0c2b0490..eae0126d 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -146,9 +146,8 @@ impl Args { } fn library() -> Library { - /// # Test - /// ## Category - /// test + /// Category: test + /// Display: Test #[func] fn test(args: &mut typst::eval::Args) -> SourceResult<Value> { let lhs = args.expect::<Value>("left-hand side")?; @@ -159,9 +158,8 @@ fn library() -> Library { Ok(Value::None) } - /// # Print - /// ## Category - /// test + /// Category: test + /// Display: Print #[func] fn print(args: &mut typst::eval::Args) -> SourceResult<Value> { print!("> "); |
