Commit 8c7e7b670fe0a1e1a39a96124fa8d76ea116200d

Thomas de Grivel 2018-06-28T21:42:49

export and fix test

diff --git a/test.lisp b/test.lisp
index 436e772..00398e7 100644
--- a/test.lisp
+++ b/test.lisp
@@ -11,6 +11,7 @@
   (:export
    #:run
    #:simple-test
+   #:test
    #:test-file))
 
 (in-package :css-lexer/test)
@@ -31,7 +32,8 @@
 (defmethod test ((path pathname))
   (with-stream (css (css-lexer
                      (babel-input-stream
-                      (unistd-stream-open path :read t))))
+                      (unistd-stream-open
+                       (namestring path) :read t))))
     (let ((result))
       (loop
          (multiple-value-bind (token state) (stream-read css)