Changeset 25920 for trunk/tools/i18n/t/ExtractTest.php
- Timestamp:
- 10/26/2013 12:54:27 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/tools/i18n/t/ExtractTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/i18n/t/ExtractTest.php
r25003 r25920 14 14 function test_with_just_a_string() { 15 15 $expected = new Translation_Entry( array( 'singular' => 'baba', 'references' => array('baba.php:1') ) ); 16 $result = $this->extractor->extract_ entries('<?php __("baba"); ?>', 'baba.php' );16 $result = $this->extractor->extract_from_code('<?php __("baba"); ?>', 'baba.php' ); 17 17 $this->assertEquals( $expected, $result->entries['baba'] ); 18 18 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)