From 750469848f2a57eccff6d0fa896b914bd29bf088 Mon Sep 17 00:00:00 2001 From: Said Aroua Date: Fri, 13 Jun 2025 22:24:42 +0200 Subject: [PATCH] Split test, add reference --- tests/ref/ref-to-empty-label-not-possible.png | Bin 0 -> 677 bytes tests/suite/model/ref.typ | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 tests/ref/ref-to-empty-label-not-possible.png 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 0000000000000000000000000000000000000000..6e5e08f13b45f9b69e79b7c407e99c6db46d7b94 GIT binary patch literal 677 zcmV;W0$TlvP)=52{PzZjTCHupN*^--whjOwGq_D1`Y>vGC3434q@V{-)MO%Qj4k3< zc6kHR>h-IW2%`lPy0*RgA{8(KcaY_Vks5uJQ0!+hrE&U8Z^4scTc=Xcb z$y_N`I?Mo~$WL z9lKpRBr7)o8CCt$iLGNddo0DJJy`M!<(2Q_2Uk+$k3WDm>-Ai3{Ahc^)OtbLB#e(D z2j{Rg^Im7S(meyRY!xR{ghlutz*RCb+LcN5X|pbdzl2dyjK{+2aTmjj;Z&9&fS=yA zuW-14hW0PcYM_BV?IBEljp!hhEvbzc>DB7OEp00000 LNkvXXu0mjfU$8zW literal 0 HcmV?d00001 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