diff --git a/tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs b/tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs index ef8890b..66445ab 100644 --- a/tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs +++ b/tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs @@ -39,7 +39,7 @@ public void ReadsSubstitutions() public class EmptyFileWarnsNeedingATitle(ITestOutputHelper output) : DirectiveTest(output, "") { [Fact] - public void ReadsTitle() => File.TitleRaw.Should().Be("index.md"); + public void ReadsTitle() => File.Title.Should().Be("index.md"); [Fact] public void ReadsNavigationTitle() => File.NavigationTitle.Should().Be("index.md");