Changes between Initial Version and Version 1 of Ticket #44541, comment 9
- Timestamp:
- 07/09/2018 04:20:34 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44541, comment 9
initial v1 30 30 switch_to_locale( 'ja_JP' ); 31 31 $expected = substr( $this->long_text, 0, 20 ) . '…'; 32 $actual = wp_trim_words( $this->long_text, 20 ); 32 33 restore_previous_locale(); 33 $actual = wp_trim_words( $this->long_text, 20 );34 34 $this->assertEquals( $expected, $actual ); 35 35 }