Merge pull request #406 from pixelb/pzstd-test-headless
pzstd: fix test failure on headless build
This commit is contained in:
commit
6f2f142b23
@ -180,12 +180,6 @@ TEST(Options, GetOutputFile) {
|
|||||||
EXPECT_SUCCESS(options.parse(args.size(), args.data()));
|
EXPECT_SUCCESS(options.parse(args.size(), args.data()));
|
||||||
EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0]));
|
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;
|
Options options;
|
||||||
auto args = makeArray("x", "y", "-o", nullOutput);
|
auto args = makeArray("x", "y", "-o", nullOutput);
|
||||||
|
Loading…
Reference in New Issue
Block a user