You are here

function SassyBaseUnitTest::trimResult in Sassy 7.2

1 call to SassyBaseUnitTest::trimResult()
SassyBaseUnitTest::runTest in ./sassy.test

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;
}