function SassyBaseUnitTest::trimResult in Sassy 7.2
1 call to SassyBaseUnitTest::trimResult()
File
- ./
sassy.test, line 182
Class
- SassyBaseUnitTest
- Base class for Sassy tests.
Code
function trimResult(&$input) {
$trim = preg_replace('/[\\s;]+/', '', $input);
$trim = preg_replace('/\\/\\*.+?\\*\\//m', '', $trim);
return $trim;
}