tests/testthat/test-spss-rename.R

context("Output of spss.rename")

test_that("spss.rename returns proper output with single variables", {
  expect_equal(spss.rename("oldname", "newname"), "RENAME VARIABLES (oldname=newname).")
})

Try the syntaxr package in your browser

Any scripts or data that you put into this service are public.

syntaxr documentation built on May 2, 2019, 3:45 a.m.