Incorrect Line Attribution in Failure Messages

Bug #1191213 reported by Robert Bieber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gocheck
New
Undecided
Unassigned

Bug Description

The attached .tar.gz is a copy of a project I've been working on, in an intermediary form because I was working on writing some tests for a package when I encountered this bug. If you run 'go test github.com/bieber/drones/asm' on it, go check reports an error as having occurred in y.go:416, which obviously isn't part of the test suite. I'm also getting this error regardless of where in the test suite a test actually fails, even if, as in the example I'm sending, it's just an Assert(1, Equals, 0) right at the top of a test function.

y.go is auto-generated by the go yacc tool, which I suspect may have something to do with the problem.

Revision history for this message
Robert Bieber (bieber) wrote :
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.