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.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/piece-table.scm b/tests/piece-table.scm
index ecf57bc..8f3af80 100644
--- a/tests/piece-table.scm
+++ b/tests/piece-table.scm
@@ -1,16 +1,17 @@
(import (srfi 64)
+ (scheme base)
(par piece-table))
;; https://srfi.schemers.org/srfi-64/srfi-64.html
(test-begin "index")
- (define table (make-piece-table "HOLA" "" (list)))
+ (define table (make-piece-table "HOLA"))
(test-equal #\L (piece-table-index table 2))
(test-end "index")
(test-begin "insert")
- (define table (make-piece-table "HOLA" "" (list)))
+ (define table (make-piece-table "HOLA"))
(piece-table-insert! table 2 #\9)
(test-equal #\9 (piece-table-index table 2))
(test-end "insert")