ExpectFailure hides expected failures

Bug #940331 reported by William Reade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gocheck
Fix Released
Medium
Gustavo Niemeyer

Bug Description

ExpectFailure produces no output; it simply makes the test appear to not exist.

That is, given a package with 6 passing tests and 1 failing test, calling ExpectFailure in the failing test causes the output (in verbose mode) to include "OK: 6 passed" with no mention of expected failures; while skipping ExpectFailure causes the expected "OOPS: 6 passed, 1 FAILED" output.

Running in the package directory doesn't make any difference.

Related branches

Changed in gocheck:
assignee: nobody → Gustavo Niemeyer (niemeyer)
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in gocheck:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.