Commit graph

442 commits

Author SHA1 Message Date
Michiel Borkent
3ec7ced8cd Fix Windows test 2021-07-14 16:03:15 +02:00
Michiel Borkent
a8eea0dfd7 Fix Windows test 2021-07-14 14:59:49 +02:00
Michiel Borkent
36ab5ab299 [#935] Fix logging test for windows 2021-07-14 14:25:32 +02:00
Michiel Borkent
3d45f62dd2 [#935] Add logging tests 2021-07-14 12:43:12 +02:00
Michiel Borkent
51b1fb58d2 Fix tests 2021-07-13 12:52:21 +02:00
Michiel Borkent
5b459da10a Fix tests 2021-07-13 11:47:35 +02:00
Michiel Borkent
588cda9eac [#934] Environment variables not picked up by tools.deps 2021-07-13 11:31:36 +02:00
Bob
b6e65c08a8
add cl-format tests for nil and Writer args (#931) 2021-07-10 21:39:23 +02:00
Michiel Borkent
02237c47ce Fix windows tests 2021-07-10 14:00:14 +02:00
Michiel Borkent
d47290e996
[#922,#927] pprint/formatter-out + cl-format with-out-str support (#930) 2021-07-10 11:32:21 +02:00
Michiel Borkent
277029caae [#914] Fix failing test 2021-07-05 18:26:29 +02:00
Michiel Borkent
2dd18e7cc6 Failing test, fix later 2021-07-05 00:05:48 +02:00
Michiel Borkent
432680b2f3 [#914] Fix cache dir 2021-07-04 22:18:16 +02:00
Bob
16911a54f0
add more windows testing (#902)
- add default test selector to skip "windows only" tests
- in cases where the differences between *nix shell and windows shell
  make the test very messy, add a separate "windows only" test
- make more tests work on Windows
2021-06-24 22:34:57 +02:00
Michiel Borkent
e143eb1cb1 [#899] Fix JVM test 2021-06-20 14:26:40 +02:00
Michiel Borkent
af754d013f [#899] (read-line) is buggy in REPL 2021-06-20 13:32:33 +02:00
Bob
35e2cd9d05
make tests run on windows as the default (#235) (#898)
* make tests run on windows as the default

- change from selecting tests to run to selecting tests to skip (remove all :windows tags, add
  :skip-windows tag to tests that don't currently work on windows)
- handfuls of calls to `normalize` and `escape-file-paths` to handle platform differences
- split `task-test` to make most of the tests run on windows, and exclude just a couple of Unix-y tests

* make a binding name clearer

* skip nrepl-server-test on Windows

- test fails on CI, so disabling it for now

* unset bb environment vars after running tests

* unset bb environment var after running release-artifact

BABASHKA_EDN being set can interfere with some tests, so unset it before running the
native tests

* skip uberjar test on Windows

uberjar-test's 'throw on empty classpath' test failing on Windows native
 (but passes on JVM) - skip it for now
2021-06-20 09:23:58 +02:00
Bob
ce4702318a
add more windows testing (#894)
- just handling line endings and escaping backslashes in file paths
2021-06-18 23:51:46 +02:00
Bob
e056cb96aa
add more windows testing (#891)
- add `normalize` call to `bb-native` output
- add `escape-file-paths` function to double up backslashes for Windows paths
  passed as strings
- add :windows selector to about 10 more tests, along with various small changes
  for Windows testing
- update test.bat to more closely mirror the Linux/Mac test script
2021-06-17 19:43:43 +02:00
Bob
63619fd66b
add windows selector to a couple of tests (#235) (#888) 2021-06-16 16:40:02 +02:00
Michiel Borkent
90ac55d588
Start porting Windows tests (#235) (#887) 2021-06-16 11:01:17 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 (#885) 2021-06-13 21:53:07 +02:00
Michiel Borkent
3764b52f3a Implement custom deref outside of sci 2021-06-03 00:25:57 +02:00
Michiel Borkent
42bf790068
[#872] Add java.lang.ProcessHandle$Info (#873)
And java.util.Optional
2021-05-31 00:06:21 +02:00
Michiel Borkent
ac576bd6e7 [#865] Stable namespace 2021-05-30 11:36:30 +02:00
Michiel Borkent
94fc8298e6 [#865] Use print-meta when emitting tasks 2021-05-30 11:27:11 +02:00
rng-dynamics
512a6f2220
feat: print data of uncaught ExceptionInfo to output (#854)
* feat: print data of uncaught ExceptionInfo to output

* println -> prn, add tests
2021-05-20 22:49:58 +02:00
Michiel Borkent
a942befc65
Add more agent vars (#857) 2021-05-19 14:00:48 +02:00
Michiel Borkent
9f48048472 [#847] Better error handling for parallel tasks (2) 2021-05-18 13:19:09 +02:00
Michiel Borkent
e18f4302a8
[#847] Better error handling for parallel tasks 2021-05-18 12:39:21 +02:00
Michiel Borkent
6aca41a48a
[#829] Allow thread-first in combination with shell 2021-05-13 13:10:56 +02:00
Michiel Borkent
7462d86afd [#837] Add babashka.task System property 2021-05-13 11:53:28 +02:00
Michiel Borkent
5014012bd6 [#836] Add :error-fn option to shell 2021-05-13 11:45:27 +02:00
Michiel Borkent
9a8bf7d0c3 [#825] Handle uneval-ed expressions in bb tasks 2021-05-08 11:02:05 +02:00
Michiel Borkent
e0e3aa422e [#770] Add test 2021-05-03 11:06:32 +02:00
Michiel Borkent
d0d18f9837 Tasks: integrate in doc subcommand 2021-05-02 20:48:40 +02:00
Michiel Borkent
12c29eb308 Tasks: detect cycles 2021-05-02 14:51:51 +02:00
Michiel Borkent
fb3d24b23c Tasks: better error msg for unresolved task 2021-05-02 14:31:57 +02:00
Michiel Borkent
87b9d93911
[#622] with-precision 2021-05-02 11:41:57 +02:00
Michiel Borkent
6d540e2f06 Rename --verbose to --debug 2021-05-02 11:16:00 +02:00
Michiel Borkent
d1bbf844de Add --verbose to global opts 2021-05-02 11:00:44 +02:00
Michiel Borkent
3bcc392760 Tasks: add explicit run function 2021-04-30 11:55:24 +02:00
Michiel Borkent
06be620d71
[#805] Support :enter and :leave hooks + current-task fn (#813) 2021-04-30 11:11:12 +02:00
Michiel Borkent
e26f26c1ba [#811] Fix --classpath when no additional args are passed 2021-04-28 20:14:39 +02:00
Michiel Borkent
66867e1ddb [#807] Ignore local and global deps.edn 2021-04-28 12:09:05 +02:00
Michiel Borkent
f2ec857c66 Add min-version tests 2021-04-28 11:26:49 +02:00
Michiel Borkent
514fc84cde [#810] Support :extra-paths and :extra-deps in tasks 2021-04-27 23:32:37 +02:00
Michiel Borkent
d7075ffad0 Tasks: fix listing of tasks 2021-04-26 10:59:05 +02:00
Michiel Borkent
6a4dd5cd26 Fix test 2021-04-25 23:31:39 +02:00
Michiel Borkent
c8c49f42fe Fix tests 2021-04-25 23:28:53 +02:00
Michiel Borkent
6da8fc99b8 Tasks: sort by occurence 2021-04-25 23:10:48 +02:00
Michiel Borkent
c5d61996d4 Tasks: support :continue in shell fn 2021-04-25 13:34:26 +02:00
Michiel Borkent
21bb768e9f Tasks: fix execution of fully qualified symbol 2021-04-25 11:42:11 +02:00
Michiel Borkent
647ef40250 Tasks: accept alias in fully qualified namespace 2021-04-25 11:27:34 +02:00
Michiel Borkent
f7e881479b Tasks: support :continue in shell 2021-04-25 00:24:33 +02:00
Michiel Borkent
12cb5d637c [#802] Support resolving docstring from function 2021-04-24 23:19:37 +02:00
Michiel Borkent
5ff9d8328a [#796] Support map literal in task 2021-04-24 13:05:27 +02:00
Michiel Borkent
3e9ddc55bb [#663] :min-bb-version 2021-04-24 12:54:41 +02:00
Michiel Borkent
3c6cf3f37e Fix test 2021-04-24 12:05:15 +02:00
Michiel Borkent
6806398722 [#800] Fix task priority 2021-04-24 11:51:03 +02:00
Michiel Borkent
657a88c348 [#780] Ignore empty classpath entries 2021-04-22 12:33:17 +02:00
Michiel Borkent
15e71b0807
[#780] Fix uberjar CLI parsing and throw when no classpath is provided 2021-04-22 11:56:13 +02:00
Michiel Borkent
f3630d2fb3
[#790] Add java.security.SecureRandom 2021-04-15 00:04:19 +02:00
Michiel Borkent
e0b1c1b01e
[#784] Support binf.cljc library by adding ByteBuffer and Charset-related classes (#789) 2021-04-14 23:27:31 +02:00
Michiel Borkent
0ecee5bf94 [#785] :requires option 2021-04-12 22:55:10 +02:00
Michiel Borkent
00b33dab4d CHANGELOG 2021-04-12 09:47:28 +02:00
Michiel Borkent
bd0495f88b tasks output test 2021-04-11 12:49:42 +02:00
Michiel Borkent
45109685e1 Get rid of :when for now 2021-04-10 16:50:20 +02:00
Michiel Borkent
6087b94d32 Clojure test 2021-04-10 16:12:30 +02:00
Michiel Borkent
36abd4152a List tasks test 2021-04-10 16:07:06 +02:00
Michiel Borkent
0ae56e7098 Fix bug in topological sorting 2021-04-10 15:57:03 +02:00
Michiel Borkent
cf55681114 Task tests 2021-04-10 15:16:12 +02:00
Michiel Borkent
1020a8c335
[#788] First cut of bb tasks 2021-04-10 14:42:58 +02:00
Andrea Richiardi
a0ace650f1
[#776] Use get-classpath when build an uberjar
It was previously using the classpath coming from the parameters/env. We need to use
cp/get-classpath for taking into consideration the classpath coming from bb.edn.
2021-04-07 10:21:09 +02:00
Michiel Borkent
1870e2729e
[#769] rewrite-clj support 2021-04-04 16:22:45 +02:00
Michiel Borkent
6a7baf2a90 v0.3.1 2021-03-30 18:06:56 +02:00
Michiel Borkent
4e667679a5 CHANGELOG [skip ci] 2021-03-29 23:57:13 +02:00
Michiel Borkent
d71c3622ec
bb.edn: first iteration 2021-03-28 17:30:44 +02:00
Michiel Borkent
0b332431d3 Fix proxy instance check 2021-03-13 18:08:36 +01:00
Michiel Borkent
a426cddd4a proxy + protocols 2021-03-13 17:25:24 +01:00
Michiel Borkent
c0e512e304 proxy 2021-03-13 17:04:35 +01:00
Michiel Borkent
8551817724 Narrow scope of reify 2021-03-13 12:44:12 +01:00
Michiel Borkent
5555ea4ede APersistentMap test 2021-03-12 20:31:58 +01:00
Michiel Borkent
04cd32b84b [#754] Fix interop with System/out 2021-03-12 10:57:43 +01:00
Michiel Borkent
38c7bc1c17 [#667] Add test 2021-03-12 10:52:11 +01:00
Michiel Borkent
0d59c0f43b Reify improvements 2021-03-07 13:56:12 +01:00
Michiel Borkent
e64dbc7691
Support reifying clojure.lang.IFn and clojure.lang.ILookup (#740) 2021-02-28 18:23:45 +01:00
Michiel Borkent
3d27677186 [#707] Add pp from clojure.pprint 2021-01-10 15:40:13 +01:00
Michiel Borkent
ee22efdb40
Carve 2021-01-02 15:03:06 +01:00
Michiel Borkent
e3ee4d2119 sci 2021-01-01 11:33:39 +01:00
Michiel Borkent
e309b49e1b Rename 2021-01-01 11:26:31 +01:00
Michiel Borkent
728e935973 fix test 2020-12-21 15:00:08 +01:00
Michiel Borkent
7b8745806f
[#677, #678] babashka.deps add-deps + clojure + clojure subcommand 2020-12-13 11:41:20 +01:00
Michiel Borkent
1489e003f2 [#670] Add split-classpath 2020-12-06 11:41:05 +01:00
Michiel Borkent
a04a09c018 [#670] Expose get-classpath 2020-12-06 11:01:37 +01:00
Kevin W. van Rooijen
b269b37ecf
Add babashka.classpath/classpath (#669) 2020-12-06 10:57:24 +01:00
Michiel Borkent
f9f2147156 Use public interface for print-method of vars 2020-12-03 11:49:19 +01:00
Michiel Borkent
42e3f44fcb 0.2.4 - tests 2020-11-27 09:48:31 +01:00
Michiel Borkent
fc11d6d0cb 0.2.4 2020-11-27 09:37:39 +01:00
Michiel Borkent
67c33b2270
[#664] Prepl 2020-11-26 12:06:49 +01:00
Michiel Borkent
86ea4bbc9a Add Iterable 2020-11-18 22:53:21 +01:00
Michiel Borkent
1381f3e563 Fix pst 2020-11-18 21:09:26 +01:00
Michiel Borkent
9cdd81c37b Get rid of :needs-ctx everywhere 2020-11-18 17:46:21 +01:00
Michiel Borkent
7bf2230f1b Revert "Add PipedInputStream and PipedOutputStream"
This reverts commit 51133263f2.
2020-11-17 21:50:39 +01:00
Burin Choomnuan
51133263f2 Add PipedInputStream and PipedOutputStream 2020-11-17 10:28:46 +01:00
Michiel Borkent
99a747e951 Fix test 2020-11-15 17:10:09 +01:00
Michiel Borkent
536b2ed570 Update sci 2020-11-15 16:49:28 +01:00
Michiel Borkent
76dd775991 Protocol test 2020-11-11 00:00:17 +01:00
Michiel Borkent
db4c1d049d Test for defining protocol on potentially infinite data structures 2020-11-10 23:47:10 +01:00
Michiel Borkent
2d77fd6254 [#630] Fix stream example 2020-11-03 11:42:28 +01:00
Michiel Borkent
1c10221f86 babashka/process updates 2020-10-20 23:50:48 +02:00
Michiel Borkent
200d444745
[#603] Partial support for multiple classes in reify 2020-10-18 17:15:16 +02:00
Michiel Borkent
ab5a02ec30 [#601] Support clojure.java.io/Coercions 2020-10-17 21:13:27 +02:00
Michiel Borkent
b3fbe7e12e [#601] Support clojure.java.io/Coercions 2020-10-17 21:13:21 +02:00
Michiel Borkent
322157bed1 Fix test 2020-10-17 16:20:09 +02:00
Michiel Borkent
06b543ea32 Fix test 2020-10-17 16:11:32 +02:00
Michiel Borkent
834bd05ac2 Fix example 2020-10-13 23:09:53 +02:00
Michiel Borkent
b5f65e10a6 [#611] pprint/print-table should write to sci/out 2020-10-11 17:02:50 +02:00
Michiel Borkent
864c30ef15 [#606] Fix System/exit in REPL 2020-10-05 22:11:21 +02:00
Michiel Borkent
2f445658bf [#583] round-trip YAML using *input* 2020-09-23 11:15:29 +02:00
Michiel Borkent
49c2661cf6 Fix tests 2020-09-23 10:52:10 +02:00
Michiel Borkent
6d2b026dd2 [#589] Fix REPL error locations 2020-09-23 10:40:43 +02:00
Michiel Borkent
007c182da7 Fix for borkdude/sci#421 2020-09-22 11:54:51 +02:00
Michiel Borkent
c4d05b4811 [#557] Fix namespace change in REPL 2020-09-16 15:54:39 +02:00
Michiel Borkent
bcdfb34b31 Sci: namespace not found in require error msg 2020-08-26 20:21:03 +02:00
Michiel Borkent
7cbaa36652
[#543] Stacktrace improvements 2020-08-26 18:16:11 +02:00
Michiel Borkent
5b0f54e576
[#508, #543] Improve error reporting with stack trace 2020-08-24 23:45:41 +02:00
Michiel Borkent
ab0af85884
[#536] Support uberjars 2020-08-19 16:39:42 +02:00
Michiel Borkent
9fffa80def [#538] support top-level requires 2020-08-17 23:01:28 +02:00
Michiel Borkent
60c73d21a6 [#535] use distinct instead of dedupe 2020-08-17 12:42:27 +02:00
Michiel Borkent
02032625ee [#535] fix order in --uberscript (2) 2020-08-16 18:00:39 +02:00
Michiel Borkent
9b68099543
[#532] Prefer .getAbsoluteFile over .getCanonicalFile for preserving 2020-08-14 11:39:48 +02:00
Michiel Borkent
88aa247536
[#468] Add clojure.core.protocols w Datafiable and Navigable 2020-08-13 11:20:32 +02:00
Michiel Borkent
f091eeddd9
[#528] Allow reading resources from jar files 2020-08-12 09:34:38 +02:00
Michiel Borkent
5a02faeb1f Better names 2020-08-01 20:00:27 +02:00
Michiel Borkent
04d30983be Explain test [skip ci] 2020-08-01 16:59:36 +02:00
Michiel Borkent
65eecdfc1c
Several improvements around destroying subprocesses
See test/babashka/scripts/child.bb
2020-08-01 16:47:10 +02:00
Michiel Borkent
8edda77054 Add BABASHKA_FAIL_FAST 2020-07-30 20:39:31 +02:00
Michiel Borkent
d422cbb91a [#478] Add babashka.file property 2020-06-27 12:58:45 +02:00
Michiel Borkent
8a75a70bbe
[#498] Fix for invoking -f with empty file 2020-06-27 12:12:53 +02:00
Michiel Borkent
e095e1485a
[#479] Add babashka.version system property 2020-06-26 10:38:58 +02:00
Michiel Borkent
834c78c044
[#491] fix binding of clojure.test/report 2020-06-22 11:36:08 +02:00
Michiel Borkent
b6a517b979 Make clojure.test/test-var dynamic 2020-06-17 13:50:47 +02:00
Michiel Borkent
d0939de548 [#482] make clojure.test/report a dynamic var 2020-06-17 13:40:56 +02:00
Michiel Borkent
6bd3dc3d9f [#471] add version info to nrepl describe op 2020-06-12 23:47:38 +02:00
Michiel Borkent
26939ff677 io/resource should return nil for non-relative paths 2020-06-10 22:55:07 +02:00
Michiel Borkent
566eff4b94 [#460] fix interop with environment 2020-06-05 20:26:36 +02:00
Michiel Borkent
8c949dbe81 Move script 2020-06-01 11:03:56 +02:00
Michiel Borkent
4bb7fec0bc [#458] add clojure.data namespace (add test) 2020-05-31 23:15:39 +02:00
Michiel Borkent
0389ed7127 [#457] Add java.nio.file.PathMatcher 2020-05-30 20:55:43 +02:00
Michiel Borkent
161aec1ada [#444] GraalVM 20.1.0 fixes timezone issue 2020-05-23 17:00:43 +02:00
Michiel Borkent
03fba08e31
[#447] expose flatland.ordered.map/ordered-map 2020-05-22 18:18:42 +02:00
Sameer Kolhar
a28618387b
[#388] embedded postgresql tests 2020-05-18 17:08:34 +02:00
Michiel Borkent
3f0cd93fc7
[#419] data readers 2020-05-15 11:12:45 +02:00
Michiel Borkent
73a01f89b5
[#432] use babashka.nrepl library 2020-05-13 14:13:57 +02:00
Michiel Borkent
a5d9b78af1 use babashka/babashka.pods library 2020-05-09 14:11:20 +02:00
Michiel Borkent
08478d966e [#415] Add java.util.Arrays/copyOf 2020-05-07 09:15:49 +02:00
Michiel Borkent
eb4f25f5c5
[#411] pods 2020-05-06 21:14:14 +02:00
Michiel Borkent
67c9a34e7a [#405] add clojure.pprint/*print-right-margin* 2020-05-01 11:02:55 +02:00
Michiel Borkent
422baff333 [#403] --describe option 2020-04-30 23:06:56 +02:00
Michiel Borkent
d65bb61d7c [#394] fix --nrepl-server without port 2020-04-30 20:39:38 +02:00
Michiel Borkent
249abdb6ad Enable pipe test 2020-04-29 11:04:23 +02:00
Michiel Borkent
6c255a702e
Merge windows branch to master 2020-04-28 15:32:34 +02:00
Michiel Borkent
ec552a9cf0
[#317] add clojure.repl/pst 2020-04-21 23:38:16 +02:00
Michiel Borkent
045226ac54 [#371] fix arg parsing 2020-04-21 15:08:20 +02:00
Michiel Borkent
48fbd08608 add test 2020-04-18 23:21:51 +02:00
Michiel Borkent
32dc498261 Merge branch 'master' into clojure.data.xml 2020-04-18 20:54:05 +02:00
Michiel Borkent
26473b8a42 [#317] add clojure.repl/source 2020-04-16 20:57:59 +02:00
Michiel Borkent
9be4c7e9a9 Improve statsd test 2020-04-15 23:08:30 +02:00
Michiel Borkent
5f914cedd1 [#263] add yaml library 2020-04-15 12:24:00 +02:00
Michiel Borkent
cd13e4420d Add statsd test 2020-04-14 22:17:20 +02:00
Michiel Borkent
3c2e17844d [#353] set babashka.main property 2020-04-13 16:49:28 +02:00
Michiel Borkent
4318fc0192 [#346] nrepl: fix close 2020-04-12 14:25:36 +02:00
Michiel Borkent
f1c1a3db8e [#349] nrepl: write to output while evaluating 2020-04-12 13:50:49 +02:00
Michiel Borkent
b0a3549bab [#346] nrepl: implement close and ls-sessions 2020-04-12 13:14:24 +02:00
Michiel Borkent
e2bdd7eae2 [#348] nrepl: support multiple top level expressions 2020-04-11 21:36:33 +02:00
Michiel Borkent
56a798135c [#345] test for .deleteOnExit 2020-04-11 21:10:21 +02:00
Michiel Borkent
4109aa5264 Bump edamame, fixes #347 2020-04-11 20:47:24 +02:00
Michiel Borkent
fb53e05ba7
[#340] fix interop with PushbackInputStream 2020-04-11 12:24:56 +02:00
Michiel Borkent
7e30c40dd9 nREPL server cleanup 2020-04-10 14:29:10 +02:00
Michiel Borkent
822bae9de3 Print test names 2020-04-08 23:12:16 +02:00
Michiel Borkent
110f6d7644
[#336] Add java.lang.Runtime to support shutdown hooks (#338) 2020-04-08 21:18:25 +02:00
Michiel Borkent
b522531e79 [#329] create non-existing ns in nREPL message 2020-04-06 00:04:30 +02:00
Michiel Borkent
2272536026 [#329] ignore non-existing ns in nREPL message 2020-04-05 23:31:36 +02:00
Michiel Borkent
249fc0a5a5 [#19] make ns key optional in nREPL messages 2020-04-05 23:17:07 +02:00
Michiel Borkent
3bf27445f3 [#328] completions for clojure.test do not work 2020-04-04 14:26:02 +02:00
Michiel Borkent
8b90e40de4
[#301] Add nREPL server (#326) 2020-04-03 23:51:54 +02:00
Michiel Borkent
4263c19979 [#308] print exception name in REPL 2020-03-28 11:20:39 +01:00
Michiel Borkent
fe76cd352c
[#312 allow .getMessage on ex-info (#313) 2020-03-28 08:29:03 +01:00
Michiel Borkent
1105c4676e
[#310] add java.nio.file.FileSystem(s) (#311) 2020-03-28 00:27:32 +01:00
Michiel Borkent
d9b2610eae
Add java.io.FileReader (#307) 2020-03-22 11:47:02 +01:00
Michiel Borkent
adaef58f5e Version bump 2020-03-20 23:39:28 +01:00
Michiel Borkent
ef06175678
[#264] Add transit-clj (#298) 2020-03-20 17:16:42 +01:00
Michiel Borkent
4db28b45e8 [#293] reset ns after load-file 2020-03-20 15:12:15 +01:00
Michiel Borkent
aa4139931e
[#284] Add read-string 2020-03-06 10:33:22 +01:00
Michiel Borkent
f52b208b7e [#283] support writer arg in clojure.pprint 2020-03-04 21:14:59 +01:00
Michiel Borkent
24a469af65
[#255] support clojure.core.async/go macro by falling back on threads 2020-03-01 16:27:35 +01:00
Michiel Borkent
a4b4ce43a4
Add java.time.temporal.ChronoUnit class (#271)
* Adding java.time.temporal.ChronoUnit to classes.clj

This enables the two following kinds of calculations between
LocalDateTime, LocalTime, Instant and other Temporal descendants:

ChronoUnit.MILLIS.between(temporalOne, temporalTwo)
temporalOne.until(temporalTwo, Chronounit.HOURS)

and I assume a lot of other operations which require time
units.

* Add unit test

Co-authored-by: Matias Bjarland <matias@iteego.com>
2020-02-21 21:32:28 +01:00
Michiel Borkent
90d16fbb74 Merge branch 'master' into clojure.data.xml 2020-02-21 20:08:00 +01:00
Michiel Borkent
7ad6f3195f Lib tests 2020-02-19 23:58:58 +01:00