Assert.Pass is treated as a test failure
Bug #742473 reported by
Damyan Pepper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnitLite |
Fix Released
|
High
|
Charlie Poole |
Bug Description
If I my test case has something like this in it:
Assert.
Then NUnitLite will treat this as a test failure.
I've attached a test case that I believe highlights this issue.
Related branches
Changed in nunitlite: | |
milestone: | none → 0.7 |
Changed in nunitlite: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Attached is what I think is a fix for this issue.
Note: in the original test case I checked that the stack trace was correct; I'm not convinced that was the right thing to do, so I've changed the test in this fix.