You are here

function SassyBaseUnitTest::loadOutputFile in Sassy 7.2

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

File

./sassy.test, line 188

Class

SassyBaseUnitTest
Base class for Sassy tests.

Code

function loadOutputFile($file) {
  $output = file_get_contents($file);
  $replacements = $this
    ->getOutputFileReplacements();
  $output = str_replace(array_keys($replacements), array_values($replacements), $output);
  return $output;
}