Skip to content
Browse files

update references to contrib to point to new names in clojure

  • Loading branch information...
1 parent 5e4cc4b commit fbe0183713b92b2f96a68e2a0d0d654bb7ce93ff @stuarthalloway stuarthalloway committed
Showing with 5 additions and 5 deletions.
  1. +2 −2 src/clj/clojure/java/browse.clj
  2. +1 −1 src/clj/clojure/test.clj
  3. +2 −2 src/clj/clojure/test/junit.clj
View
4 src/clj/clojure/java/browse.clj
@@ -40,8 +40,8 @@
; the implementation of this function resides in another namespace to be loaded "on demand"
; this fixes a bug on mac os x where the process turns into a GUI app
; see http://code.google.com/p/clojure-contrib/issues/detail?id=32
- (require 'clojure.contrib.javadoc.browse-ui)
- ((find-var 'clojure.contrib.javadoc.browse-ui/open-url-in-swing) url))
+ (require 'clojure.java.browse-ui)
+ ((find-var 'clojure.java.browse-ui/open-url-in-swing) url))
(defn browse-url
"Open url in a browser"
View
2 src/clj/clojure/test.clj
@@ -193,7 +193,7 @@
All the test reporting functions write to the var *test-out*. By
default, this is the same as *out*, but you can rebind it to any
PrintWriter. For example, it could be a file opened with
- clojure.contrib.duck-streams/writer.
+ clojure.java.io/writer.
EXTENDING TEST-IS (ADVANCED)
View
4 src/clj/clojure/test/junit.clj
@@ -25,14 +25,14 @@
with-junit-output macro, like this:
(use 'clojure.test)
- (use 'clojure.contrib.test.junit)
+ (use 'clojure.test.junit)
(with-junit-output
(run-tests 'my.cool.library))
To write the output to a file, rebind clojure.test/*test-out* to
your own PrintWriter (perhaps opened using
- clojure.contrib.duck-streams/writer)."
+ clojure.java.io/writer)."
:author "Jason Sankey"}
clojure.test.junit
(:require [clojure.stacktrace :as stack]

0 comments on commit fbe0183

Please sign in to comment.
Something went wrong with that request. Please try again.