7 changed files with 54 additions and 20 deletions
@ -1,2 +1,6 @@ |
|||
0.1.1 |
|||
* Fixes #1 (h/t @mpjashby) |
|||
* `remove` now works like it should |
|||
|
|||
0.1.0 |
|||
* Initial release |
|||
|
@ -1,3 +1,9 @@ |
|||
library(slugify) |
|||
|
|||
expect_true(slugify("R is great!") == "r-is-great") |
|||
expect_true(slugify("R is great!") == "r-is-great") |
|||
|
|||
expect_true(slugify("R is great!", lower = FALSE) == "R-is-great") |
|||
|
|||
expect_true(slugify("R is great!", replacement = "@") == "r@is@great") |
|||
|
|||
expect_true(slugify("R is great!", remove = "/[Rr]/g") == "is-geat") |
|||
|
Loading…
Reference in new issue