Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add TextDocument tests for invalid inputs #1286

Merged
merged 6 commits into from
Jul 30, 2024
Merged

Conversation

mroch
Copy link
Contributor

@mroch mroch commented Aug 8, 2023

adds more tests for TextDocument dealing with positions/offsets around line endings.

Ref #1285

@aeschli aeschli self-assigned this Jul 9, 2024
@aeschli aeschli added this to the July 2024 milestone Jul 9, 2024
@aeschli aeschli enabled auto-merge (squash) July 9, 2024 15:11
dbaeumer
dbaeumer previously approved these changes Jul 9, 2024
@dbaeumer dbaeumer dismissed their stale review July 9, 2024 15:30

Pressed button too fast :-)

@aeschli
Copy link
Contributor

aeschli commented Jul 11, 2024

@dbaeumer For you to review...

@aeschli aeschli merged commit 04d7162 into microsoft:main Jul 30, 2024
6 checks passed
@Princesseuh
Copy link

I'm not sure if this repo follows semver or not, but just a heads up that this PR (being released as 1.0.12 of vscode-languageserver-textdocument) ended up breaking things for us downstream

Probably that we were relying on broken behaviour, but still, lost a few hours tracking this PR, not helped by the title being "add tests" when it in fact, does not just add tests 😅

@dbaeumer
Copy link
Member

@Princesseuh sorry for the bad title. We do use semver but since this is a bug fix for a broken behavior (#1285) it is not a major version update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants