Skip to content

Commit

Permalink
Fix two other absolute paths I missed
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Sep 24, 2019
1 parent 0dce0d7 commit 1775a6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions r/R/filesystem.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ FileSystem <- R6Class("FileSystem", inherit = Object,
},

Move = function(src, dest) {
fs___FileSystem__Move(self, clean_path(src), fs_relative_path(dest))
fs___FileSystem__Move(self, fs_relative_path(src), fs_relative_path(dest))
},

CopyFile = function(src, dest) {
fs___FileSystem__CopyFile(self, clean_path(src), fs_relative_path(dest))
fs___FileSystem__CopyFile(self, fs_relative_path(src), fs_relative_path(dest))
},

OpenInputStream = function(path) {
Expand Down
2 changes: 1 addition & 1 deletion r/tests/testthat/test-filesystem.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

context("test-type")
context("File system")

test_that("LocalFilesystem", {
fs <- LocalFileSystem$create()
Expand Down

0 comments on commit 1775a6d

Please sign in to comment.