We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f3b586 commit a51aff1Copy full SHA for a51aff1
1 file changed
tests/Statiq.Web.Tests/Pipelines/ContentFixture.cs
@@ -719,7 +719,7 @@ public async Task ShouldHighlightCode()
719
IDocument document = result.Outputs[nameof(Content)][Phase.PostProcess].ShouldHaveSingleItem();
720
document.Destination.ShouldBe("foo.html");
721
document.GetContentStringAsync().Result.ShouldBe(
722
- "<html><head></head><body><pre><code class=\"language-ebnf hljs\"><span class=\"hljs-attribute\">int foo</span> = 1;</code></pre></body></html>",
+ "<html><head></head><body><pre><code class=\"language-cpp hljs\"><span class=\"hljs-type\">int</span> foo = <span class=\"hljs-number\">1</span>;</code></pre></body></html>",
723
StringCompareShould.IgnoreLineEndings);
724
}
725
0 commit comments