Permalink
Browse files

Modernize ns declarations.

  • Loading branch information...
mmcgrana committed Aug 7, 2010
1 parent 6fe2ecb commit f893a1e764971b19579bbfca291cf1c645ccd635
Showing with 10 additions and 10 deletions.
  1. +5 −5 src/fleetdb/client.clj
  2. +3 −3 test/fleetdb/client_test.clj
  3. +2 −2 test/fleetdb/helper_test.clj
View
@@ -1,10 +1,10 @@
(ns fleetdb.client
- (:require (clj-json [core :as json]))
- (:import (java.net Socket URI)
- (java.io OutputStreamWriter BufferedWriter
+ (:require [clj-json.core :as json])
+ (:import (java.net Socket URI))
+ (:import (java.io OutputStreamWriter BufferedWriter
InputStreamReader BufferedReader
- Closeable)
- (clojure.lang IFn ILookup)))
+ Closeable))
+ (:import (clojure.lang IFn ILookup)))
(defn- doquery [#^BufferedWriter writer #^BufferedReader reader q]
(let [#^String req (json/generate-string q)]
@@ -1,7 +1,7 @@
(ns fleetdb.client-test
- (:require (fleetdb [client :as client]))
- (:import (java.io Closeable))
- (:use (clj-unit core)))
+ (:use clj-unit.core)
+ (:require [fleetdb.client :as client])
+ (:import java.io.Closeable))
(defmacro with-client [[name opts] & body]
(let [tname (with-meta name {:tag 'Closeable})]
@@ -1,6 +1,6 @@
(ns fleetdb.helper-test
- (:use [fleetdb helper]
- [clj-unit core]))
+ (:use clj-unit.core)
+ (:use fleetdb.helper))
(deftest "auth"
(assert= [:auth "foo"] (auth "foo")))

0 comments on commit f893a1e

Please sign in to comment.