Skip to content
New issue

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

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

Already on GitHub? # to your account

Add test to ensure code containing <auto-generated> comment is treated as generated. #857

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

JoeRobich
Copy link
Member

Add test for #856

@@ -113,8 +113,8 @@ public async Task GeneratedFilesFormattedInUnformattedProject()
exclude: EmptyFilesList,
includeGenerated: true,
expectedExitCode: 0,
expectedFilesFormatted: 4,
expectedFileCount: 5);
expectedFilesFormatted: 5,
Copy link
Member Author

Choose a reason for hiding this comment

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

When includeGenerated is true the added file is formatted.

@JoeRobich JoeRobich merged commit 3569925 into dotnet:master Nov 9, 2020
@JoeRobich JoeRobich deleted the generated-code-comment branch March 5, 2021 21:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants