func TestLocation(t *testing.T) { loc := errgo.Location{"foo", 35} if loc.String() != "foo:35" { t.Fatalf("expected \"foo:35\" got %q", loc.String) } }
func (*errorsSuite) TestLocation(c *gc.C) { loc := errgo.Location{File: "foo", Line: 35} c.Assert(loc.String(), gc.Equals, "foo:35") }