This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ lein test-all | |
Performing task 'do' with profile(s): 'base,system,user,provided,dev,1.5' | |
Exception in thread "main" java.lang.ClassNotFoundException: yesql.types.Query | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) | |
at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; | |
;;; Healthy defaults :) | |
;;; | |
(setq inhibit-startup-screen t | |
initial-scratch-message nil | |
create-lockfiles nil | |
make-backup-files nil | |
column-number-mode t | |
scroll-error-top-bottom t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns test1.numbers | |
(:require [clojure.core.async :as a])) | |
(defn number-generator [n] | |
(let [c (a/chan 1024)] | |
(a/go | |
(dotimes [x n] | |
(a/>! c x)) | |
(a/close! c)) | |
c)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns test | |
(:require [clojure.java.io :as io] | |
[clojure.string :as str] | |
[clojure.test :as t])) | |
(defonce test-folder "test") | |
(defonce test-filter #"^myapp.*$") | |
(defn test-file? [path] | |
(str/ends-with? path "_test.clj")) |