☰
Debian Codegraph
@
0.4.10+dfsg-3
/
/
tests
/
testthat
/
test-mixins.R
☽
☼
tests/testthat/test-mixins.R
code
plain
raw
MIT
2018-2021 Joe Cheng,; Timothy Mastny,; Richard Iannone,; Barret Schloerke,; Carson Sievert,; RStudio,; Sass Open Source Foundation (LibSass library),; Greter Marcel (LibSass library),; Mifsud Michael (LibSass library),; Hampton Catlin (LibSass library),; Natalie Weizenbaum (LibSass library),; Chris Eppstein (LibSass library),; Adams Joseph (json.cpp),; Trifunovic Nemanja (utf8.h)
debian/copyright
1
# Disable sass cache
2
local_disable_cache()
3
4
test_that("mixins work", {
5
expected_first_word <- ".box"
6
css <- sass(sass_file("test-mixins.scss"))
7
expect_equal(
8
strsplit(css, " ")[[1]][1],
9
expected_first_word
10
)
11
})