aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-03 01:32:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-03 01:32:00 -0400
commit5f0b099e1444d462be5aa8df49f87c9b324e1b85 (patch)
tree66d286f3fe20fe93dce5952712af7a98d1ffd794 /test
parentb517f3b2872ad25a9f2bb9114da2bcf178f041db (diff)
Better behavior for invalid character names
Diffstat (limited to 'test')
-rw-r--r--test/text.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index f0f289fe..d82a38c7 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -217,3 +217,6 @@ func main():
>> "🐧":codepoint_names()
= ["PENGUIN"]
+ >> Text.from_codepoint_names(["not a valid name here buddy"])
+ = ""
+