File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2727 */
2828class TranslationPullCommandTest extends TranslationProviderTestCase
2929{
30+ private $ colSize ;
31+
3032 protected function setUp (): void
3133 {
32- putenv ('COLUMNS=121 ' );
34+ $ this ->colSize = getenv ('COLUMNS ' );
35+ putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
3336 parent ::setUp ();
3437 }
3538
3639 protected function tearDown (): void
3740 {
3841 parent ::tearDown ();
39- putenv ('COLUMNS ' );
42+ putenv ($ this -> colSize ? ' COLUMNS= ' . $ this -> colSize : 'COLUMNS ' );
4043 }
4144
4245 public function testPullNewXlf12Messages ()
Original file line number Diff line number Diff line change 2626 */
2727class TranslationPushCommandTest extends TranslationProviderTestCase
2828{
29+ private $ colSize ;
30+
2931 protected function setUp (): void
3032 {
31- putenv ('COLUMNS=121 ' );
33+ $ this ->colSize = getenv ('COLUMNS ' );
34+ putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
3235 parent ::setUp ();
3336 }
3437
3538 protected function tearDown (): void
3639 {
3740 parent ::tearDown ();
38- putenv ('COLUMNS ' );
41+ putenv ($ this -> colSize ? ' COLUMNS= ' . $ this -> colSize : 'COLUMNS ' );
3942 }
4043
4144 public function testPushNewMessages ()
You can’t perform that action at this time.
0 commit comments