File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -182,11 +182,14 @@ end
182
182
out = tempname ()
183
183
cp (joinpath (FIXTURES, " nometa.pre" ), out)
184
184
@test DocumenterTools. canonical_directory_from_redirect_index_html (out) === nothing
185
- @test DocumenterTools. canonical_version_from_versions_js (out) == " stable"
186
- # Just
187
- @test DocumenterTools. update_canonical_links (
188
- out;
189
- canonical = " https://example.org/this-is-test" ,
190
- ) === nothing
185
+ if ! Sys. iswindows ()
186
+ # These two tests depend on symlinks, so they do not work on Windows
187
+ @test DocumenterTools. canonical_version_from_versions_js (out) == " stable"
188
+ # Just tests that the function runs
189
+ @test DocumenterTools. update_canonical_links (
190
+ out;
191
+ canonical = " https://example.org/this-is-test" ,
192
+ ) === nothing
193
+ end
191
194
end
192
195
end
You can’t perform that action at this time.
0 commit comments