Skip to content

Commit

Permalink
Merge pull request #91 from JasperFx/bug_describe_write_file
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed Aug 9, 2024
2 parents 13b4228 + a994efe commit ea0edfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Oakton/Descriptions/DescribeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static async Task WriteText(IDescribedSystemPart[] parts, TextWriter writ
{
foreach (var part in parts)
{
await writer.WriteLineAsync("##" + part.Title);
await writer.WriteLineAsync("## " + part.Title);
await writer.WriteLineAsync();
await part.Write(writer);
await writer.WriteLineAsync();
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Descriptions/DescribeCommandTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public async Task write_text()
writer.ToString().ShouldContain(theParts[0].Title);

writer.ToString().ShouldContain(theParts[1].As<DescribedPart>().Body);
writer.ToString().ShouldContain(theParts[1].Title);
writer.ToString().ShouldContain("## " + theParts[1].Title);
}

[Fact]
Expand Down

0 comments on commit ea0edfb

Please sign in to comment.