test_that("string concat", {
a <- "a"
b <- "b"
expect_equal(a %++% b %++% a, "aba")
})
test_that("filepath concat", {
expect_equal("hello" %//% "world", "hello/world")
expect_equal("hello/" %//% "world", "hello/world")
expect_equal("hello" %//% "/world", "hello/world")
expect_equal("hello/" %//% "/world", "hello/world")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.