mirror of
https://github.com/typst/typst
synced 2025-08-26 04:34:14 +08:00
Split test, add reference
This commit is contained in:
parent
ef84635b09
commit
750469848f
BIN
tests/ref/ref-to-empty-label-not-possible.png
Normal file
BIN
tests/ref/ref-to-empty-label-not-possible.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 677 B |
@ -90,6 +90,8 @@ Text seen on #ref(<text>, form: "page", supplement: "Page").
|
||||
// @ without any following label should just produce the symbol in the output
|
||||
// and not produce a reference to a label with an empty name.
|
||||
@ \<- this should show up
|
||||
|
||||
--- ref-function-can-not-form-empty-label ---
|
||||
// using ref() should also not be possible
|
||||
// Error: 6-7 unexpected less-than operator
|
||||
// Error: 7-8 unexpected greater-than operator
|
||||
|
Loading…
x
Reference in New Issue
Block a user