Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions eo-runtime/src/main/eo/fs/file.eo
Original file line number Diff line number Diff line change
Expand Up @@ -288,22 +288,14 @@
(tmpdir.as-path.resolved "foo").@.tmpfile > @

# Tests that resolving nested paths and touching files works correctly.
# @todo #4096:30min Enable tests-resolves-and-touches unit test.
# Now its disabled because of: "Can't #take("path"), the attribute is absent among other test 34
# attrs. After we fix it, we should enable the test.
[] > tests-resolves-and-touches
seq > @
*
resolved.deleted.made
and.
f.exists
contains.
f.path
joined.
path.separator
* "foo" "bar"
(tmpdir.as-path.resolved "foo/bar").@ > resolved
resolved.tmpfile > f
[] +> tests-resolves-and-touches
and. > @
f.exists
eq.
(Q.fs.path f.path).dirname
resolved.path
resolved.deleted.made.tmpfile > f
(tmpdir.as-path.resolved "foo/bar").as-dir > resolved

# Tests that moving a file to a new location works correctly.
[] +> tests-moves-a-file
Expand Down
Loading