library(queryr)
context("remove_whitespace()")
test_that("Produces the correct output.", {
expect_equal(remove_whitespace(" this is \n too much\t white \t\t \n\n\n space "), "this is too much white space")
})
test_that("Produces the correct output type.", {
expect_is(remove_whitespace(" this is too much white space "), "character")
})
test_that("Produces the correct errors.", {
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.