rsass 0.29.2

Sass implementation in pure rust (not complete yet)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Tests auto-converted from "sass-spec/spec/css/plain/single_equals.hrx"

fn runner() -> crate::TestRunner {
    super::runner().with_cwd("single_equals").mock_file(
        "plain.css",
        "a {\n  single-equals: alpha(opacity=65);\n}\n",
    )
}

#[test]
fn test() {
    assert_eq!(
        runner().ok("@use \"plain\";\n"),
        "a {\
         \n  single-equals: alpha(opacity=65);\
         \n}\n"
    );
}