Skip to content

Commit

Permalink
Use *clack-test-access-port* for localhost.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Jun 27, 2017
1 parent 89859ff commit 310e6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Use if you want to set another port. The default is `*clack-test-port*`.")
if (port-available-p port)
return port))

(defun localhost (&optional (path "/") (port *clack-test-port*))
(defun localhost (&optional (path "/") (port *clack-test-access-port*))
(check-type path string)
(setf path
(cond
Expand Down

0 comments on commit 310e6e2

Please sign in to comment.