public void TrimShortest_Verify() { var setting = new TrimShortest(); Assert.DoesNotThrow(() => SettingSerializer.Serialize(setting)); Assert.Equal(SettingSerializer.Serialize(setting), "-shortest"); }
public void TrimShortest_Verify() { var setting = new TrimShortest(); Assert.DoesNotThrow(() => { var s = setting.GetAndValidateString(); }); Assert.Equal(setting.GetAndValidateString(), "-shortest"); }