test_that(". escaped around surround by anchors", {
expect_equal(escape_path("."), "^\\.$")
})
test_that("strip trailing /", {
expect_equal(escape_path("./"), "^\\.$")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.