()
| 224 | } |
| 225 | |
| 226 | func (s *OptionsTestSuite) TestDepth() { |
| 227 | o := testNestedOptions() |
| 228 | |
| 229 | s.Require().Equal(0, o.Depth()) |
| 230 | s.Require().Equal(1, o.Child().Depth()) |
| 231 | s.Require().Equal(2, o.Child().Child().Depth()) |
| 232 | } |
| 233 | |
| 234 | func (s *OptionsTestSuite) TestMap() { |
| 235 | s.Run("WithoutChildren", func() { |
nothing calls this directly
no test coverage detected