func (intSetSuite) TestUninitializedPanics(c *gc.C) { f := func() { var s set.Ints s.Add(1) } c.Assert(f, gc.PanicMatches, "uninitalised set") }