summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/linebreak.pngbin39452 -> 44823 bytes
-rw-r--r--tests/typ/text/linebreak.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/text/linebreak.png b/tests/ref/text/linebreak.png
index 1e94762b..3dd2fc15 100644
--- a/tests/ref/text/linebreak.png
+++ b/tests/ref/text/linebreak.png
Binary files differ
diff --git a/tests/typ/text/linebreak.typ b/tests/typ/text/linebreak.typ
index 7e409a80..2ddeb9ed 100644
--- a/tests/typ/text/linebreak.typ
+++ b/tests/typ/text/linebreak.typ
@@ -9,6 +9,15 @@ This is a spaceexceedinglylongy.
Supercalifragilisticexpialidocious Expialigoricmetrioxidation.
---
+// Test for non-breaking space and hyphen.
+There are non\u{2011}breaking~characters.
+
+---
+// Test for narrow non-breaking space.
+#show "_": sym.space.nobreak.narrow
+0.1_g, 1_g, 10_g, 100_g, 1_000_g, 10_000_g, 100_000_g, 1_000_000_g
+
+---
// Test that there are no unwanted line break opportunities on run change.
This is partly emp#emph[has]ized.