Skip to content

Commit

Permalink
Tweak an alias
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Feb 16, 2021
1 parent 1f9cfdd commit c746844
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/refactor_nrepl/integration_tests.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns refactor-nrepl.integration-tests
(:require [clojure.java.io :as io]
[clojure.test :refer :all]
[nrepl.server :as nrserver]
[nrepl.server :as nrepl]
[refactor-nrepl middleware
[client :refer :all]
[core :as core]]
Expand All @@ -11,15 +11,15 @@

(defn start-up-repl-server []
(let [server
(nrserver/start-server
(nrepl/start-server
:bind "localhost"
:port 7777
:handler (nrserver/default-handler
:handler (nrepl/default-handler
#'refactor-nrepl.middleware/wrap-refactor))]
server))

(defn stop-repl-server [server]
(nrserver/stop-server server))
(nrepl/stop-server server))

(defn wrap-setup-once [f]
(let [server (start-up-repl-server)]
Expand Down

0 comments on commit c746844

Please sign in to comment.