context("rm_spaces")
test_that("rm_spaces space", {
test<- ' Hello world '
right <- 'Hello world'
res <- rm_spaces(test)
expect_identical(res, right)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.