Skip to content

Commit

Permalink
Remove an outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jul 17, 2024
1 parent 497c750 commit e840473
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/requests/test_textdocument.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,3 @@
LanguageServer.textDocument_didClose_notification(LanguageServer.DidCloseTextDocumentParams(LanguageServer.TextDocumentIdentifier(uri"untitled:none")), server, server.jr_endpoint)
@test !LanguageServer.hasdocument(server, uri"untitled:none")
end

@testitem "mark errors to end of file" begin
include("../test_shared_server.jl")

# Missing a closing ')'
doc = settestdoc("println(\"Hello, world!\"")
diagnostics = LanguageServer.mark_errors(doc)
@test length(diagnostics) == 1
@test diagnostics[1].range == LanguageServer.Range(0, 23, 0, 23)
end

0 comments on commit e840473

Please sign in to comment.