public void JoinWithDash_JoinsStringsWithDash() { var strings = new[] { "one", "two", "three" }; strings.JoinWith("-").Should().Be("one-two-three"); }
private string GetBufferResult() { var ruler = RulerFormatter.MakeRuler(TestBufferWidth); var bufferLines = _buffer.ToLines(); var result = new[] {ruler}.Concat(bufferLines); var bufferResult = result.JoinWith(Environment.NewLine); return bufferResult; }