Skip to content

Fix dead test code#53416

Merged
AlekseyTs merged 2 commits intodotnet:mainfrom
Youssef1313:fix-dead-code-tests
May 17, 2021
Merged

Fix dead test code#53416
AlekseyTs merged 2 commits intodotnet:mainfrom
Youssef1313:fix-dead-code-tests

Conversation

@Youssef1313
Copy link
Member

Fixes #53415

The Assembly.RuntimeSupports* was never true in these tests. Ran them against both TFMs so both code paths are actually tested.

@Youssef1313 Youssef1313 requested a review from a team as a code owner May 14, 2021 08:20
@ghost ghost added the Area-Compilers label May 14, 2021
@AlekseyTs AlekseyTs added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label May 14, 2021
@AlekseyTs
Copy link
Contributor

AlekseyTs commented May 14, 2021

Done with review pass (commit 1)


In reply to: 841263838

@Youssef1313
Copy link
Member Author

Thanks @AlekseyTs! This is much better now :) 🎉

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 2)

@AlekseyTs AlekseyTs merged commit 8ae073e into dotnet:main May 17, 2021
@ghost ghost added this to the Next milestone May 17, 2021
@AlekseyTs
Copy link
Contributor

@Youssef1313 Thanks for the contribution.

@Youssef1313 Youssef1313 deleted the fix-dead-code-tests branch May 17, 2021 14:36
333fred added a commit to 333fred/roslyn that referenced this pull request May 20, 2021
…vice-featureslayer

* upstream/main: (857 commits)
  Update contrib documentation (dotnet#53504)
  SImplify
  Fix out of bound crash in lsp navto.
  Revert changes to TypeScriptWaitContext wrappers
  Switch to ROSLYN_TEST_CI for CI detection
  SImplify
  Simplify LoggerTestChannel using BlockingCollection
  Only require telemetry validation in CI
  Fix out of bound crash in lsp navto.
  Fix locked comment
  Update Compiler Test Plan.md (dotnet#53420)
  Adjust doc comment for NullableWalker.VisitConversion (dotnet#53429)
  Revert "Infer delegate types with -langversion:preview only (dotnet#53241)" (dotnet#53466)
  Fix syntax normalizer to add space around before colon in constructor initializer (dotnet#53326)
  Remove unnecessary property (dotnet#53406)
  EnC - Tell the debugger about updated type def tokens (dotnet#53217)
  Revert an error
  Update PublishData.json
  Keep trailing trivia so single line if statements don't get badly formatted (dotnet#53414)
  Fix dead test code (dotnet#53416)
  ...
@RikkiGibson RikkiGibson modified the milestones: Next, 17.0.P2 Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dead conditional code in test

3 participants