(t *testing.T)
| 1440 | } |
| 1441 | |
| 1442 | func TestUnmarshalTextLevelNil(t *testing.T) { |
| 1443 | var l *Level |
| 1444 | err := l.UnmarshalText([]byte("info")) |
| 1445 | if err == nil || err.Error() != "can't unmarshal a nil *Level" { |
| 1446 | t.Errorf("UnmarshalText() on nil *Level error = %v, want 'can't unmarshal a nil *Level'", err) |
| 1447 | } |
| 1448 | } |
| 1449 | |
| 1450 | func TestHTMLNoEscaping(t *testing.T) { |
| 1451 | out := &bytes.Buffer{} |
nothing calls this directly
no test coverage detected