Exemplo n.º 1
0
        public void write_comment()
        {
            var writer = new SourceWriter();

            writer.Block("public void Go()");
            writer.Comment("Some Comment");

            var lines = writer.Code().ReadLines().ToArray();

            lines.Last().Should().Be("    // Some Comment");
        }