You are here

function CoderTestCase::assertFormat in Coder 7.2

Same name and namespace in other branches
  1. 6.2 scripts/coder_format/tests/CoderTestCase.php \CoderTestCase::assertFormat()
  2. 6 scripts/coder_format/tests/CoderTestCase.php \CoderTestCase::assertFormat()
  3. 7 scripts/coder_format/tests/CoderTestCase.php \CoderTestCase::assertFormat()

File

scripts/coder_format/tests/CoderTestCase.php, line 11

Class

CoderTestCase

Code

function assertFormat($input, $expect) {
  $result = coder_format_string_all($input);
  $this
    ->assertIdentical($result, $input);
}