dwww Home | Show directory contents | Find package

# expect should be a css string with no spaces or linebreaks
# actual should be the output of sass compilation
expect_css <- function(expect, actual) {
  expect_identical(
    gsub("\\s+|\\n", "", as.character(expect)),
    gsub("\\s+|\\n", "", as.character(actual))
  )
}

Generated by dwww version 1.15 on Sat May 18 09:09:38 CEST 2024.