func (s *FailHelper) TestLogAndFail(c *gocheck.C) { s.testLine = getMyLine() - 1 c.Log("Expected failure!") c.Fail() }