summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin <mhaug@live.de>2021-12-26 17:34:04 +0100
committerMartin Haug <mhaug@live.de>2021-12-27 12:33:53 +0100
commit7efdcdf2472257102c6b4b30bf285e2058924070 (patch)
tree9749c485b4ef25d1d68fcd248917f891b9ec9677 /tests
parentb22ce6f8b84e0a75d162feb6f3699e26f86f2453 (diff)
Apply simple suggestions from code review
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/columns.pngbin42011 -> 37509 bytes
-rw-r--r--tests/typ/layout/columns.typ7
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/ref/layout/columns.png b/tests/ref/layout/columns.png
index a1aee61c..a9e7f661 100644
--- a/tests/ref/layout/columns.png
+++ b/tests/ref/layout/columns.png
Binary files differ
diff --git a/tests/typ/layout/columns.typ b/tests/typ/layout/columns.typ
index b6019a8a..ed0eb5d6 100644
--- a/tests/typ/layout/columns.typ
+++ b/tests/typ/layout/columns.typ
@@ -48,6 +48,7 @@ a page for a test but it does get the job done.
إلى جانب كل من البروتينات والليبيدات والسكريات المتعددة
#rect(fill: eastern, height: 8pt, width: 6pt)
الجزيئات الضخمة الأربعة الضرورية للحياة.
+
---
// Test the `colbreak` function.
#set page(height: 1cm, width: 7.05cm, columns: 2)
@@ -69,7 +70,7 @@ C
// Test columns when one of them is empty.
#set page(width: auto, columns: 3)
-The page can grow as much as it wants horizontally.
+Arbitrary horizontal growth.
---
// Test columns in an infinitely wide frame.
@@ -91,7 +92,7 @@ This is a normal page. Very normal.
---
// Test a page with zero columns.
+// Error: 49-50 must be positive
#set page(height: auto, width: 7.05cm, columns: 0)
-This makes less sense but will still
-produce a normal page.
+This makes less sense.