Skip to content

Commit 4c99bca

Browse files
committed
test that build errors on windows
1 parent 5ae751a commit 4c99bca

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

test/runtests.jl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,27 @@ docs = [
8484
# giturl = "[email protected]:JuliaComputing/DataSets.jl.git",
8585
),
8686
]
87+
88+
if Sys.iswindows()
89+
@test_throws ErrorException MultiDocumenter.make(
90+
outpath,
91+
docs;
92+
search_engine = MultiDocumenter.SearchConfig(
93+
index_versions = ["stable", "dev"],
94+
engine = MultiDocumenter.FlexSearch,
95+
),
96+
custom_scripts = [
97+
"foo/bar.js",
98+
"https://foo.com/bar.js",
99+
Docs.HTML("const foo = 'bar';"),
100+
],
101+
rootpath = rootpath,
102+
canonical_domain = "https://example.org/",
103+
sitemap = true,
104+
sitemap_filename = "sitemap-mydocs.xml",
105+
)
106+
end
107+
87108
MultiDocumenter.make(
88109
outpath,
89110
docs;

0 commit comments

Comments
 (0)