rsass 0.29.2

Sass implementation in pure rust (not complete yet)
Documentation
//! Tests auto-converted from "sass-spec/spec/css/functions/error.hrx"

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

mod single_equals {
    use super::runner;

    #[test]
    #[ignore] // missing error
    fn no_lhs() {
        assert_eq!(
            runner().err("a {b: c(=d)}\n"),
            "Error: expected \")\".\
         \n  ,\
         \n1 | a {b: c(=d)}\
         \n  |         ^\
         \n  \'\
         \n  input.scss 1:9  root stylesheet",
        );
    }
    #[test]
    #[ignore] // missing error
    fn no_lhs_or_rhs() {
        assert_eq!(
            runner().err("a {b: c(=)}\n"),
            "Error: expected \")\".\
         \n  ,\
         \n1 | a {b: c(=)}\
         \n  |         ^\
         \n  \'\
         \n  input.scss 1:9  root stylesheet",
        );
    }
    #[test]
    #[ignore] // missing error
    fn no_rhs() {
        assert_eq!(
            runner().err("a {b: c(d=)}\n"),
            "Error: Expected expression.\
         \n  ,\
         \n1 | a {b: c(d=)}\
         \n  |           ^\
         \n  \'\
         \n  input.scss 1:11  root stylesheet",
        );
    }
}