summaryrefslogtreecommitdiff
path: root/tests/piece-table.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/piece-table.scm')
-rw-r--r--tests/piece-table.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/piece-table.scm b/tests/piece-table.scm
index 8f3af80..d1fa32a 100644
--- a/tests/piece-table.scm
+++ b/tests/piece-table.scm
@@ -12,8 +12,9 @@
(test-begin "insert")
(define table (make-piece-table "HOLA"))
- (piece-table-insert! table 2 #\9)
+ (piece-table-insert! table 2 "90")
(test-equal #\9 (piece-table-index table 2))
+ (test-equal #\0 (piece-table-index table 3))
(test-end "insert")
(test-begin "delete")