File: performance_test.clj

package info (click to toggle)
ordered-clojure 1.15.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 22; sh: 19
file content (14 lines) | stat: -rw-r--r-- 599 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(ns flatland.ordered.performance-test
  (:use clojure.test))

(deftest ^:kaocha/pending reflection
  #_(binding [*warn-on-reflection* true]
      (are [ns-sym] (= ""
                       (with-out-str
                         (binding [*err* *out*]
                           (require :reload ns-sym))))
        ;; Order of the below is IMPORTANT. set depends on map, and if you
        ;; reload map *after* reloading set, then set refers to classes that
        ;; don't exist anymore, and all kinds of bad stuff happens
        ;; (in this test and others)
        'ordered.map 'ordered.set)))