Merge pull request #406 from pixelb/pzstd-test-headless

pzstd: fix test failure on headless build
This commit is contained in:
Yann Collet 2016-10-12 12:23:11 -07:00 committed by GitHub
commit 6f2f142b23

View File

@ -180,12 +180,6 @@ TEST(Options, GetOutputFile) {
EXPECT_SUCCESS(options.parse(args.size(), args.data()));
EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0]));
}
{
Options options;
auto args = makeArray("-o-");
EXPECT_FAILURE(options.parse(args.size(), args.data()));
EXPECT_EQ("-", options.getOutputFile(options.inputFiles[0]));
}
{
Options options;
auto args = makeArray("x", "y", "-o", nullOutput);