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/libsass/interpolated-function-call.hrx"

fn runner() -> crate::TestRunner {
    super::runner().with_cwd("interpolated-function-call")
}

#[test]
fn test() {
    assert_eq!(
        runner().ok("$f: foo;\n\
             \ndiv {\
             \n  color: #{$f}(a, 1+2, c);\
             \n}"),
        "div {\
         \n  color: foo(a, 3, c);\
         \n}\n"
    );
}