1
0
Fork 0

Allow running test suite with osx tar, fixes #5662

pull/5503/merge
Jordi Boggiano 2016-09-10 11:38:52 +02:00
parent 8313e86877
commit 788f32ac93
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class XzDownloaderTest extends TestCase
$downloader->download($packageMock, $this->getUniqueTmpDirectory());
$this->fail('Download of invalid tarball should throw an exception');
} catch (\RuntimeException $e) {
$this->assertContains('File format not recognized', $e->getMessage());
$this->assertRegexp('/(File format not recognized|Unrecognized archive format)/i', $e->getMessage());
}
}
}