Move script

This commit is contained in:
Michiel Borkent 2020-06-01 11:03:56 +02:00
parent 6504ddfa45
commit 8c949dbe81
3 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ Thanks [@martinklepsch](https://github.com/martinklepsch) and [@cldwalker](https
[cljc.java-time](https://github.com/henryw374/cljc.java-time) library.
- Add `java.lang.Float` class
- Add `java.nio.file.PathMatcher` class. This allows one to implement a
[glob](test/babashka/scripts/glob.bb) function.
[glob](test-resources/babashka/glob.clj) function.
- Support alternative interop form: `(. Integer -SIZE) ;;=> 32`
- [#454](https://github.com/borkdude/babashka/issues/454): syntax check on amount of arguments to `def`
- [#458](https://github.com/borkdude/babashka/issues/458): add `clojure.data` namespace

View file

@ -351,7 +351,7 @@
(java.nio.file.Files/copy p p' (into-array [java.nio.file.StandardCopyOption/REPLACE_EXISTING]))))))"
temp-path))
(is (.exists f2))
(let [v (bb nil "-f" (.getPath (io/file "test" "babashka" "scripts" "glob.bb")))]
(let [v (bb nil "-f" (.getPath (io/file "test-resources" "babashka" "glob.clj")))]
(is (vector? v))
(is (.exists (io/file (first v)))))))