diff --git a/tests/ref/ref-to-empty-label-not-possible.png b/tests/ref/ref-to-empty-label-not-possible.png new file mode 100644 index 000000000..6e5e08f13 Binary files /dev/null and b/tests/ref/ref-to-empty-label-not-possible.png differ diff --git a/tests/suite/model/ref.typ b/tests/suite/model/ref.typ index 279637754..3b756e36f 100644 --- a/tests/suite/model/ref.typ +++ b/tests/suite/model/ref.typ @@ -90,6 +90,8 @@ Text seen on #ref(, 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