File tree 3 files changed +38
-1
lines changed
3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# _(
4
- " exec" " bb" " --classpath" " ../ src" " $0 " " $@ "
4
+ " exec" " bb" " --classpath" " src" " $0 " " $@ "
5
5
)
6
6
7
7
(require ' [ekspono.vero :as vero])
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ test/examples_test.clj
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # _(
4
+ " exec" " bb" " $0 " " $@ "
5
+ )
6
+
7
+ (ns vero-test
8
+ (:require [clojure.test :refer [deftest is testing use-fixtures run-tests]]
9
+ [clojure.java.shell :refer [sh]]
10
+ [clojure.java.io :as io]
11
+ [clojure.string :as string]))
12
+
13
+ (deftest test-minimal-example
14
+ (testing " Testing examples/minimal.clj"
15
+ (let [{exit :exit
16
+ out :out
17
+ err :err} (sh " ./examples/minimal.clj" )
18
+ fixture " vero/running: (git rev-parse --show-toplevel)
19
+ minimal.clj
20
+
21
+ Usage:
22
+ minimal.clj hello
23
+
24
+ Options:
25
+ -h --help Show this screen" ]
26
+ (is (= 0 exit))
27
+ (is (= (string/trim out) (string/trim fixture))))))
28
+
29
+ (run-tests)
30
+
31
+ ;; help emacs understand this is a clojure file
32
+ ;; Local Variables:
33
+ ;; mode: clojure
34
+ ;; End:
You can’t perform that action at this time.
0 commit comments