Skip to content

Commit 35719a0

Browse files
committed
use correct property for test
1 parent 7514dc8 commit 35719a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void ReadsSubstitutions()
3939
public class EmptyFileWarnsNeedingATitle(ITestOutputHelper output) : DirectiveTest(output, "")
4040
{
4141
[Fact]
42-
public void ReadsTitle() => File.TitleRaw.Should().Be("index.md");
42+
public void ReadsTitle() => File.Title.Should().Be("index.md");
4343

4444
[Fact]
4545
public void ReadsNavigationTitle() => File.NavigationTitle.Should().Be("index.md");

0 commit comments

Comments
 (0)