Changeset 46612 for trunk/tests/phpunit/tests/pomo/po.php
- Timestamp:
- 10/29/2019 02:26:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/pomo/po.php
r46586 r46612 23 23 http://wordpress.org/ 24 24 '; 25 $this->mail = str_replace( "\r\n", "\n", $this->mail ); 25 26 $this->po_mail = '"" 26 27 "Your new WordPress blog has been successfully set up at:\n" … … 64 65 $this->assertEquals( '"Categories can be selectively converted to tags using the <a href=\\"%s\\">category to tag converter</a>."', $po->poify( $src ) ); 65 66 66 $this->assertEquals ( $this->po_mail, $po->poify( $this->mail ) );67 $this->assertEqualsIgnoreEOL( $this->po_mail, $po->poify( $this->mail ) ); 67 68 } 68 69 … … 75 76 // wordwrapped 76 77 $this->assertEquals( 'babadyado', $po->unpoify( "\"\"\n\"baba\"\n\"dyado\"" ) ); 77 $this->assertEquals ( $this->mail, $po->unpoify( $this->po_mail ) );78 $this->assertEqualsIgnoreEOL( $this->mail, $po->unpoify( $this->po_mail ) ); 78 79 } 79 80 … … 89 90 ) 90 91 ); 91 $this->assertEquals (92 $this->assertEqualsIgnoreEOL( 92 93 'msgid "baba" 93 94 msgid_plural "babas" … … 102 103 ) 103 104 ); 104 $this->assertEquals (105 $this->assertEqualsIgnoreEOL( 105 106 '# baba 106 107 # dyado … … 115 116 ) 116 117 ); 117 $this->assertEquals (118 $this->assertEqualsIgnoreEOL( 118 119 '#. baba 119 120 msgid "baba" … … 128 129 ) 129 130 ); 130 $this->assertEquals (131 $this->assertEqualsIgnoreEOL( 131 132 '#. baba 132 133 #: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 … … 159 160 ) 160 161 ); 161 $this->assertEquals (162 $this->assertEqualsIgnoreEOL( 162 163 'msgid "baba" 163 164 msgid_plural "babas" … … 173 174 ) 174 175 ); 175 $this->assertEquals (176 $this->assertEqualsIgnoreEOL( 176 177 'msgid "baba" 177 178 msgid_plural "babas" … … 191 192 ) 192 193 ); 193 $this->assertEquals (194 $this->assertEqualsIgnoreEOL( 194 195 '#, fuzzy, php-format 195 196 msgctxt "ctxt"
Note: See TracChangeset
for help on using the changeset viewer.