Skip to content

[repo-assist] tests: add ToLatex coverage for OtherBlock and InlineHtmlBlock - #1299

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/latex-tests-otherblock-20260909-c739ca9f33e01053
Draft

[repo-assist] tests: add ToLatex coverage for OtherBlock and InlineHtmlBlock#1299
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/latex-tests-otherblock-20260909-c739ca9f33e01053

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant.

Summary

Adds unit test coverage for two Markdown.ToLatex paragraph-rendering cases that previously had no direct tests: OtherBlock (raw/non-code paragraph content, which must be wrapped in \begin{lstlisting}/\end{lstlisting} like CodeBlock) and InlineHtmlBlock (written verbatim, unescaped, straight through to the LaTeX output).

This follows on from the existing ## Markdown.ToLatex: direct unit tests section in tests/FSharp.Markdown.Tests/Markdown.fs, which already exercised most other paragraph kinds (headings, lists, tables, images, math, etc.) but not these two.

Changes

  • tests/FSharp.Markdown.Tests/Markdown.fs — 2 new tests: ToLatex renders OtherBlock content wrapped in lstlisting, ToLatex renders InlineHtmlBlock content verbatim.
  • RELEASE_NOTES.md — changelog entry under a new Unreleased section.

Test Status

  • dotnet test tests/FSharp.Markdown.Tests/FSharp.Markdown.Tests.fsproj --configuration Release — 370/370 pass (368 existing + 2 new).
  • dotnet fantomas tests/FSharp.Markdown.Tests/Markdown.fs (formatted, verified re-run of tests afterwards).

No production code was changed; this is test-only.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38

Repo Assist: adds test coverage for two previously-untested paragraph
rendering paths in Markdown.ToLatex — OtherBlock (raw content wrapped
in \begin{lstlisting}) and InlineHtmlBlock (verbatim passthrough).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants