Skip to content

Commit 56c83a2

Browse files
committed
Fix test
1 parent b926035 commit 56c83a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_document.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ d6 = Document("untitled", s6, false)
6464
LS.applytextdocumentchanges(doc, c3)
6565
@test LS.get_text(doc) == "println(\"Hello World\")"
6666
# doc currently has only one line, applying change to 2nd line should throw
67-
@test_throws ErrorException LS.applytextdocumentchanges(doc, c2)
67+
@test_throws LanguageServer.LSOffsetError LS.applytextdocumentchanges(doc, c2)
6868
end
6969

7070
@testset "UTF16 handling" begin

0 commit comments

Comments
 (0)