Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run All Tests

 
Code Block
$ mvn test

 

Run An Individual Test

 

First, build the latest Clojure:

 

Code Block
$ mvn package

 

You should see a clojure jar in target/ e.g. target/clojure-1.6.0-master-SNAPSHOT.jar.

Start a repl and run individual tests from it:

 

Code Block
$ java -cp test:target/clojure-1.6.0-master-SNAPSHOT.jar clojure.main
Clojure 1.6.0-master-SNAPSHOT
;; We're testing with clojure.test 
=> (require 'clojure.test)
nil
;; Load a test file 
user=> (require 'clojure.test-clojure.data)
nil
;; Run it 
user=> (clojure.test/run-tests 'clojure.test-clojure.data)
 
Testing clojure.test-clojure.data
Ran 1 tests containing 17 assertions.
0 failures, 0 errors.
{:type :summary, :pass 17, :test 1, :error 0, :fail 0}