aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-02-08 23:42:27 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-02-08 23:42:27 -0500
commit4e31786efcf32818a620cc87ffa80dadef90a466 (patch)
tree13c105b061230e1207d1415ef8089056abb627b3 /test
parent2b7e96835e75e0d153e7f993d1c4fc2add452ddd (diff)
Bugfixes for Text.distance()
Diffstat (limited to 'test')
-rw-r--r--test/text.tm1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index 8f0da922..dee55f33 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -216,3 +216,4 @@ func main()
assert "hello".distance("Hello") <= 1.0
assert "hello".distance("xello") <= 1.0
assert "hello".distance("ehllo") <= "hello".distance("XXllo")
+ assert "shffle".distance("shuffle") <= "shffle".distance("sample")