You are here

function CoderI18NTest::testExtraTs in Coder 6.2

File

tests/coder_i18n.test, line 55

Class

CoderI18NTest

Code

function testExtraTs() {
  $this
    ->assertCoderPass("  watchdog('name', 'Your message.');");
  $this
    ->assertCoderFail("  watchdog('name', t('Your message.'));");
  $this
    ->assertCoderFail("  watchdog('name', st('Your message.'));");
}