Пример #1
0
        public void SimpleString()
        {
            var input    = ".a { .b { margin: 0; } .c { margin: 1px; } }";
            var expected = ".a .b{margin:0}.a .c{margin:1px}\n";
            var compiler = new SassCompiler();
            var res      = compiler.CompileCode(input, new SassOptions(
                                                    outputStyle: SassOutputStyle.Compressed,
                                                    indent: string.Empty,
                                                    sourceMapEmbed: false
                                                    ));

            Assert.Equal(expected, res.Css);
        }