()
| 705 | } |
| 706 | |
| 707 | func (s *subtestPanicSuite) TestSubtestPanic() { |
| 708 | ok := s.Run("subtest", func() { |
| 709 | panic("panic") |
| 710 | }) |
| 711 | s.False(ok, "subtest failure is expected") |
| 712 | } |
| 713 | |
| 714 | func TestSubtestPanic(t *testing.T) { |
| 715 | suite := new(subtestPanicSuite) |