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

switch arguments for expected and actual in Assert.AreEquals in multiple tests #685

Merged
merged 6 commits into from
Feb 26, 2020
Merged

switch arguments for expected and actual in Assert.AreEquals in multiple tests #685

merged 6 commits into from
Feb 26, 2020

Conversation

HeroMaxPower
Copy link
Contributor

Description

This PR is to fix some asserts in the TestPlatform.sln solution, the expected and actual are round the wrong way.

e.g.

Assert.AreEqual(aggregator.RunContextAttachments.Count, 1, "RunContextAttachments List must have data.");

should be

Assert.AreEqual(1, aggregator.RunContextAttachments.Count, "RunContextAttachments List must have data.");

Related issue

Fixes #684

@nohwnd nohwnd merged commit 6815ba5 into microsoft:master Feb 26, 2020
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.

Some Asserts.AreEqual in TestFx.sln have incorrect expected and actual arguments.
2 participants