Skip to content

Commit

Permalink
#23 EmptySingleParagraphをプロパティに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
TakenPt committed Apr 21, 2024
1 parent 1d8341e commit c8fc76e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ public ScrapingAozoraServiceTest()
.OfType<ScrapingAozoraService>()
.Single();
}

private static EpubDocument EmptySingleParagraph
{
get { return new EpubDocument("", "", "", Guid.NewGuid()) { Chapters = [new Chapter() { Sections = [new Section("") { Elements = [new Paragraph()] }] }] }; }
}

/// <summary>
/// (htmlの要素の)テキストを"<div class = \"main_text\"></div>"で囲む
/// </summary>
Expand Down

0 comments on commit c8fc76e

Please sign in to comment.