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 a unit test to ensure object initialisers supports completion in collection expressions #72515

Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 12, 2024

Closes #72400

This issue was already fixed, but it was pointed out that it should still have a unit test so I am adding one just like the case in the issue.

@ghost ghost self-requested a review as a code owner March 12, 2024 20:35
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 12, 2024
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Mar 12, 2024

await VerifyItemExistsAsync(markup, "Start");
await VerifyItemExistsAsync(markup, "End");
await VerifyExclusiveAsync(markup, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in general, we would prfer that completion tests go into CompletionCommandHandlerTests. The provider tests are very broken (Since things can appear in them, and not show up in actual completion).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think of thse as legacy tests we need to port over, but have no time to do so :)

@CyrusNajmabadi CyrusNajmabadi merged commit 85e0e2f into dotnet:main Mar 12, 2024
25 of 27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 12, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
3 participants