function LocaleInstallTest::testFunctionSignatures in Drupal 7
Verify that function signatures of t() and st() are equal.
File
- modules/
locale/ locale.test, line 1417 - 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.');
}