Disable test for Windows
This commit is contained in:
parent
c9b9ad64fc
commit
3d909f04b8
1 changed files with 14 additions and 13 deletions
|
|
@ -195,16 +195,17 @@
|
||||||
(iterator-seq (clojure.lang.RT/iter [1 2 3])))))))
|
(iterator-seq (clojure.lang.RT/iter [1 2 3])))))))
|
||||||
|
|
||||||
(deftest posix-file-attributes
|
(deftest posix-file-attributes
|
||||||
(= 'java.util.HashSet
|
(when-not test-utils/windows?
|
||||||
(bb nil
|
(is (= 'java.util.HashSet
|
||||||
'(do
|
(bb nil
|
||||||
(import
|
'(do
|
||||||
[java.nio.file Files LinkOption Path]
|
(import
|
||||||
[java.nio.file.attribute PosixFileAttributes])
|
[java.nio.file Files LinkOption Path]
|
||||||
(-> (Files/readAttributes (Path/of "test-resources/posix-file-attributes.txt"
|
[java.nio.file.attribute PosixFileAttributes])
|
||||||
(into-array String []))
|
(-> (Files/readAttributes (Path/of "test-resources/posix-file-attributes.txt"
|
||||||
PosixFileAttributes
|
(into-array String []))
|
||||||
^"[Ljava.nio.file.LinkOption;"
|
PosixFileAttributes
|
||||||
(into-array LinkOption []))
|
^"[Ljava.nio.file.LinkOption;"
|
||||||
.permissions
|
(into-array LinkOption []))
|
||||||
type)))))
|
.permissions
|
||||||
|
type)))))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue