diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-07 15:17:13 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-07 15:17:13 +0100 |
| commit | 25b5bd117529cd04bb789e1988eb3a3db8025a0e (patch) | |
| tree | 2fbb4650903123da047a1f1f11a0abda95286e12 /tests/src/tests.rs | |
| parent | 6ab7760822ccd24b4ef126d4737d41f1be15fe19 (diff) | |
Fully untyped model
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!("> "); |
