test-namespace

circumspec.watch

  • (test-namespace file)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/watch.clj:26 top

(defn test-namespace
  [file]
  (let [file-ns (second (read-file-ns-decl (as-file file)))]
    (if (.endsWith (str file-ns) "-test")
      file-ns
      (source-ns->test-ns file-ns))))
Vars in circumspec.watch/test-namespace: defn let str
Used in 0 other vars

Comments top

No comments for test-namespace. Log in to add a comment.