1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! Tests auto-converted from "sass-spec/spec/libsass/debug-directive-nested/function.hrx" fn runner() -> crate::TestRunner { super::runner().with_cwd("function") } #[test] fn test() { assert_eq!( runner().ok("@function c() {\ \n @warn test;\ \n @return d;\ \n}\n\ \na {\ \n b: {\ \n c: c();\ \n }\ \n}\n"), "a {\ \n b-c: d;\ \n}\n" ); }