Просмотр исходного кода

:octocat: oh wait, the fucking line endings...?

codemasher 5 лет назад
Родитель
Сommit
fce1cf08ab
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tests/Output/QROutputTestAbstract.php

+ 2 - 2
tests/Output/QROutputTestAbstract.php

@@ -120,12 +120,12 @@ abstract class QROutputTestAbstract extends TestCase{
 		// may fail on CI, different PHP (platform) versions produce different output
 		// the samples were generated on php-7.4.3-Win32-vc15-x64
 		if(PHP_OS_FAMILY !== 'Windows'
-		   && ($type === QRCode::OUTPUT_IMAGE_JPG || $type === QRCode::OUTPUT_IMAGICK || $type === QRCode::OUTPUT_MARKUP_SVG)
-		){
+		   && ($type === QRCode::OUTPUT_IMAGE_JPG || $type === QRCode::OUTPUT_IMAGICK)){
 			$this::markTestSkipped('may fail on CI');
 			return;
 		}
 
+		$this->options->eol = "\r\n";
 		$this->options->outputType = $type;
 
 		$this::assertSame(