summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/piece-table.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/piece-table.scm b/tests/piece-table.scm
index b8b6ff1..d6c1105 100644
--- a/tests/piece-table.scm
+++ b/tests/piece-table.scm
@@ -23,10 +23,10 @@
(test-begin "delete")
(define table (make-piece-table "HOLA SOY EKAITZ"))
- (piece-table-delete! table 4)
+ (piece-table-delete! table 4 1)
(test-equal "HOLASOY EKAITZ" (piece-table->string table))
- (piece-table-delete! table 0)
- (test-equal "OLA SOY EKAITZ" (piece-table->string table))
- (piece-table-delete! table 13)
- (test-equal "OLA SOY EKAIT" (piece-table->string table))
+ (piece-table-delete! table 0 1)
+ (test-equal "OLASOY EKAITZ" (piece-table->string table))
+ (piece-table-delete! table 12 1)
+ (test-equal "OLASOY EKAIT" (piece-table->string table))
(test-end "delete")