(*testing.T)
| 65 | } |
| 66 | |
| 67 | func (s) TestError(*testing.T) { |
| 68 | const numErrors = 10 |
| 69 | ExpectError("Expected error") |
| 70 | ExpectError("Expected ln error") |
| 71 | ExpectError("Expected formatted error") |
| 72 | ExpectErrorN("Expected repeated error", numErrors) |
| 73 | grpclog.Error("Expected", "error") |
| 74 | grpclog.Errorln("Expected", "ln", "error") |
| 75 | grpclog.Errorf("%v %v %v", "Expected", "formatted", "error") |
| 76 | for i := 0; i < numErrors; i++ { |
| 77 | grpclog.Error("Expected repeated error") |
| 78 | } |
| 79 | } |
nothing calls this directly
no test coverage detected