public void AnCorrectInput() { var header = new HeaderContent().Match("Accept: asd"); Assert.True(header.IsSuccesful()); Assert.Equal(" asd", header.RemainingText()); }
public void InputWithMiddleLine() { var header = new HeaderContent().Match("Accept-Language:"); Assert.True(header.IsSuccesful()); Assert.Equal("", header.RemainingText()); }