1 locale.test LocaleInstallTest::testFunctionSignatures()

Verify that function signatures of t() and st() are equal.

File

core/modules/locale/tests/locale.test, line 1216
Tests for locale.module.

Class

LocaleInstallTest
Tests for the st() function.

Code

function testFunctionSignatures() {
  $reflector_t = new ReflectionFunction('t');
  $reflector_st = new ReflectionFunction('st');
  $this->assertEqual($reflector_t->getParameters(), $reflector_st->getParameters(), 'Function signatures of t() and st() are equal.');
}