(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestWithLocation(t *testing.T) { |
| 11 | c := New(WithLocation(time.UTC)) |
| 12 | if c.location != time.UTC { |
| 13 | t.Errorf("expected UTC, got %v", c.location) |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | func TestWithParser(t *testing.T) { |
| 18 | var parser = NewParser(Dow) |
nothing calls this directly
no test coverage detected