(t *testing.T)
| 285 | } |
| 286 | |
| 287 | func TestStackSkipFieldWithSkip(t *testing.T) { |
| 288 | f := StackSkip("stacktrace", 1) |
| 289 | assert.Equal(t, "stacktrace", f.Key, "Unexpected field key.") |
| 290 | assert.Equal(t, zapcore.StringType, f.Type, "Unexpected field type.") |
| 291 | assert.Equal(t, stacktrace.Take(1), f.String, "Unexpected stack trace") |
| 292 | assertCanBeReused(t, f) |
| 293 | } |
| 294 | |
| 295 | func TestDict(t *testing.T) { |
| 296 | tests := []struct { |
nothing calls this directly
no test coverage detected