public void Recurse_wildcard_outputs_r_zero() { var fixture = new SevenZipSettingsFixture(); var sut = new SwitchRecurseSubdirectories(RecurseType.EnableOnlyForWildcardNames); const string expected = "-r0"; var actual = fixture.Parse(b => sut.BuildArguments(ref b)); actual.ShouldBe(expected); }
public void Recurse_unset_outputs_r_minus() { var fixture = new SevenZipSettingsFixture(); var sut = new SwitchRecurseSubdirectories(RecurseType.Disable); const string expected = "-r-"; var actual = fixture.Parse(b => sut.BuildArguments(ref b)); actual.ShouldBe(expected); }