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/parser/operator_precedence.hrx"

fn runner() -> crate::TestRunner {
    super::runner().with_cwd("operator_precedence")
}

#[test]
fn mixed() {
    assert_eq!(
        runner().ok("// Regression test for scssphp/scssphp#435\
             \na {\
             \n  b: true or 1 < 0 and false;\
             \n}\n"),
        "a {\
         \n  b: true;\
         \n}\n"
    );
}