From dc3017955a67e5509f6bc33cb9b4833806da4c22 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Wed, 19 Apr 2023 07:26:55 -0400 Subject: Give more specific error messages (#881) --- tests/typ/visualize/shape-circle.typ | 2 +- tests/typ/visualize/shape-square.typ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/visualize') diff --git a/tests/typ/visualize/shape-circle.typ b/tests/typ/visualize/shape-circle.typ index cde4b112..34238d9a 100644 --- a/tests/typ/visualize/shape-circle.typ +++ b/tests/typ/visualize/shape-circle.typ @@ -54,5 +54,5 @@ Expanded by height. --- // Radius wins over width and height. -// Error: 23-34 unexpected argument +// Error: 23-34 unexpected argument: width #circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern) diff --git a/tests/typ/visualize/shape-square.typ b/tests/typ/visualize/shape-square.typ index cb6552e4..a321dc4a 100644 --- a/tests/typ/visualize/shape-square.typ +++ b/tests/typ/visualize/shape-square.typ @@ -35,5 +35,5 @@ --- // Size wins over width and height. -// Error: 09-20 unexpected argument +// Error: 09-20 unexpected argument: width #square(width: 10cm, height: 20cm, size: 1cm, fill: rgb("eb5278")) -- cgit v1.2.3