From 8c949dbe81d7a8f3ab1278cf6e6a400055e74dc7 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Mon, 1 Jun 2020 11:03:56 +0200 Subject: [PATCH] Move script --- CHANGELOG.md | 2 +- .../scripts/glob.bb => test-resources/babashka/glob.clj | 0 test/babashka/main_test.clj | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename test/babashka/scripts/glob.bb => test-resources/babashka/glob.clj (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f344544..853dbe0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/test/babashka/scripts/glob.bb b/test-resources/babashka/glob.clj similarity index 100% rename from test/babashka/scripts/glob.bb rename to test-resources/babashka/glob.clj diff --git a/test/babashka/main_test.clj b/test/babashka/main_test.clj index e1702323..deb9aecf 100644 --- a/test/babashka/main_test.clj +++ b/test/babashka/main_test.clj @@ -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)))))))