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

Highlight C# code in unit tests #7335

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

JakeYallop
Copy link
Contributor

@JakeYallop JakeYallop commented Jun 25, 2024

Adds [StringSyntax("C#-test")] to verifier classes to enable syntax highlighting for embedded C# code in visual studio.

Before:
devenv_lvavli5AG6

After:
devenv_iOb5umXDDJ

@JakeYallop JakeYallop requested a review from a team as a code owner June 25, 2024 20:37
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (43709af) to head (26e5bd1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7335   +/-   ##
=======================================
  Coverage   96.49%   96.49%           
=======================================
  Files        1443     1443           
  Lines      345799   345799           
  Branches    11374    11374           
=======================================
+ Hits       333665   333675   +10     
+ Misses       9251     9242    -9     
+ Partials     2883     2882    -1     

Copy link
Member

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

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

LGTM. Verified this works in VS2022 17.11.

Will let @mavasani and @sharwell weigh in on the change though.

@Evangelink Evangelink merged commit b70b320 into dotnet:main Aug 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants