markTestSkipped('There is no SASS_BIN environment variable.'); } $this->filter = new SassFilter($_SERVER['SASS_BIN']); } public function testSass() { $input = <<load(); $this->filter->setStyle(SassFilter::STYLE_COMPACT); $this->filter->filterLoad($asset); $this->assertEquals("body { color: red; }\n", $asset->getContent(), '->filterLoad() parses the sass'); } public function testScssGuess() { $input = <<<'EOF' $red: #F00; .foo { color: $red; } EOF; $expected = '.foo { color: red; }'; $asset = new StringAsset($input, array(), null, 'foo.scss'); $asset->load(); $this->filter->setStyle(SassFilter::STYLE_COMPACT); $this->filter->filterLoad($asset); $this->assertEquals(".foo { color: red; }\n", $asset->getContent(), '->filterLoad() detects SCSS based on source path extension'); } } __halt_compiler();----SIGNATURE:----MeqzfMYI/7l4H8ClGWVOa+fNvp9glSfKGP0At6l6NJhZduT80pwjD3uK25GF+Hpjbr9VWSoAFD0pARcUKJo/zOB3mmxAT5P1QPMqQM0Tzf7d87O41k2KZFJe9kmljyOPEGMjOfiaSnvEm+c8hsXwvasm1WFffex06hH02mcPTPJARW1/cJHicq71DnfKNXsUXuoGAzkEY5ibyOBxE/X6japGqmtiDLpqjENGDBiKfPjdZs4vN6jHBLBUfO0wn/DSDLdy+sGLUI1B8/eo9Ssfdo3Af1KUrx7mnyv5V9WnShP89WlR7W+K1W4yB7eMkECZGGrZsDXYLF67856Pf+7FFC6e8UqSIFyMd678ppXJXdrBCYZMXXJcB05yCiV3up9I2rLS3NQ2hzxI5SaRxKuy7+DeakSCBCekkxZ8aylLhS5Up3A9os+/kQ/0lb4EI4WP6l0Io8oKh2KqMwJgH+zKTtnwN0hnRH0/MhJ0i6rQF+KZicw09UQHBX8x7mS7VhgXJhaHt2xt679+h5ZPeu62oj9H3fJzHO2xng76hxPWTQzV4FMBS6Bd27vbtdMJExv1f9hTMtbVIn7Uz0lYOqbKqP/EEZh3Sq+w36SOEkCZQPzwwo9otVPYbgwuYjDtxo0m2qWccwpEmP6BTS34sQXolyJlTmhy1UWt2LEmftHegJw=----ATTACHMENT:----ODI4MTY3ODk0NDA5OTM5NyA5Mjk5NTQwMzA1MTQ2MzU3IDg2NDkxMDQwMDAxOTc0MA==