Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Skip the rhwp PDF route checks where rhwp isn't there

KnifeLemon59360796b8b8
diff --git a/tests/Filee.Engines.Tests/PandocMarkupTests.cs b/tests/Filee.Engines.Tests/PandocMarkupTests.cs
index ac13c5a2..125e1fdd 100644
--- a/tests/Filee.Engines.Tests/PandocMarkupTests.cs
+++ b/tests/Filee.Engines.Tests/PandocMarkupTests.cs
@@ -94,6 +94,8 @@ public class PandocMarkupTests(EngineFixture fx) : IClassFixture<EngineFixture>
Assert.Equal("adoc", FormatRegistry.FindByExtension("asciidoc")!.Id);
Assert.SkipUnless(PandocConverter.Locate() is not null, "Pandoc not found (pwsh build/fetch-engines.ps1 -Only pandoc)");
+ // rhwp lays out the PDF; without it (Windows ARM64 until its build is pinned) Pandoc takes another route.
+ Assert.SkipUnless(fx.Converters.Any(c => c.Id == "rhwp" && fx.Catalog.StatusOf(c).IsAvailable), "rhwp not found");
// Not through slides and LibreOffice's PPTX → PDF.
Assert.Equal(["hwpx-writer", "rhwp"], planner.Plan("org", "pdf")!.Steps.Select(s => s.Converter.Id));
Assert.Equal(["hwpx-writer", "rhwp"], planner.Plan("md", "pdf")!.Steps.Select(s => s.Converter.Id));