Skip to content

Commit 6c416b2

Browse files
committed
Fix tests on Windows
1 parent a226c39 commit 6c416b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_document.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,6 @@ end
133133
links = LS.DocumentLink[]
134134
LS.find_document_links(LS.getcst(doc), doc, 0, links)
135135
@test length(links) == 1
136-
@test links[1].target == LS.filepath2uri(@__FILE__)
136+
# lowercase because windows drives can apparently be inconsistently capitalized
137+
@test lowercase(links[1].target) == lowercase(LS.filepath2uri(@__FILE__))
137138
end

0 commit comments

Comments
 (0)