test(webui): normalize math fixture checkout line endings

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-02 20:44:50 +08:00
1 parent 870dc2466f
commit 4fd6807d3d
2 files changed
+6 -2

No files matched your search

@@ -7,7 +7,9 @@ import { describe, expect, it } from "vitest";
import { parseMathAwareMarkdownBlocks } from "@/lib/markdown-streaming-blocks";
import { remarkTexMath } from "@/lib/remark-tex-math";
import mixedMath from "@/tests/fixtures/markdown-math-mixed.md?raw";
import mixedMathFixture from "@/tests/fixtures/markdown-math-mixed.md?raw";
const mixedMath = mixedMathFixture.replaceAll("\r\n", "\n");
const formula = String.raw`\[
\tan\left(\frac{\mathrm{HFOV}}{2}\right)