This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

added type hints to tests re #96

  • Loading branch information...
tavisrudd committed Jan 7, 2012
1 parent 133a945 commit 4b8c62bfb045fd1fdec1f79f8d57d146b1c455df
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/swank/test_swank/commands/basic.clj
  2. +2 −2 test/swank/test_swank/util/net/sockets.clj
@@ -1,5 +1,5 @@
(ns swank.test-swank.commands.basic
- (:refer-clojure :exclude [load-file])
+ (:refer-clojure :exclude [load-file print-doc])
(:use swank.commands.basic :reload-all)
(:use clojure.test))
@@ -5,10 +5,10 @@
swank.util.net.sockets))
(deftest making-server
- (are [x] (with-open [socket x]
+ (are [x] (with-open [#^ServerSocket socket x]
(instance? ServerSocket x))
(make-server-socket)
(make-server-socket {:backlog 10})
(make-server-socket {:host "localhost"})))
-;; Testing of connection (ought to do object mocks)
+;; Testing of connection (ought to do object mocks)

0 comments on commit 4b8c62b

Please sign in to comment.