Fix test
This commit is contained in:
parent
333c0b4d60
commit
99a747e951
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@
|
||||||
_ (.setConnectTimeout conn 2000)
|
_ (.setConnectTimeout conn 2000)
|
||||||
_ (.setReadTimeout conn 2000)]
|
_ (.setReadTimeout conn 2000)]
|
||||||
(.connect conn)
|
(.connect conn)
|
||||||
(binding [*out* (io/writer System/out)]
|
(binding [*out* (io/writer System/err)]
|
||||||
(prn :before))
|
(prn :before))
|
||||||
(with-open [is (.getInputStream conn)]
|
(with-open [is (.getInputStream conn)]
|
||||||
(io/copy is zip-file))
|
(io/copy is zip-file))
|
||||||
(binding [*out* (io/writer System/out)]
|
(binding [*out* (io/writer System/err)]
|
||||||
(prn :after))
|
(prn :after))
|
||||||
(let [bb-file (io/file tmp-dir "bb-extracted")
|
(let [bb-file (io/file tmp-dir "bb-extracted")
|
||||||
fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil)
|
fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue