コード例 #1
0
        public void Directive_Does_Not_Affect_FirstInGroup()
        {
            var doc = Doc.Group(
                Doc.Directive("#pragma"),
                Doc.HardLineSkipBreakIfFirstInGroup,
                "1",
                Doc.Line,
                "2"
                );

            PrintedDocShouldBe(doc, $"#pragma{NewLine}1 2");
        }