tests/testthat/test-as.characet.R

testthat::context("as.character")

testthat::test_that("as.character", {
  testthat::expect_equal(
    as.character(rsync(dest = "rsync://test", src = "/", password = "1234")),
    c(dest = "rsync://test", src = "/", password = "****", ssh = "NULL", sshProg = "NULL")
  )
})
INWTlab/rsync documentation built on April 3, 2022, 10:11 a.m.