Skip to content

Commit

Permalink
maybe like this?
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohalt committed Jan 11, 2024
1 parent d1c8870 commit e84795d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/babashka/fs_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
(fs/with-temp-dir [tmp {}]
;; https://github.com/babashka/fs/issues/122
(fs/create-dirs (fs/path tmp "src" "foo" "bar"))
(.setWritable (fs/file tmp "src" "foo") false)
(.setReadOnly (fs/file tmp "src" "foo"))
(fs/copy-tree (fs/path tmp "src") (fs/path tmp "dst"))
(is (fs/exists? (fs/path tmp "dst" "foo" "bar")))
(is (not (fs/writable? (fs/path tmp "dst" "foo"))))))
Expand Down

0 comments on commit e84795d

Please sign in to comment.