(t *testing.T, location string)
| 4080 | } |
| 4081 | |
| 4082 | func mustLocation(t *testing.T, location string) *time.Location { |
| 4083 | t.Helper() |
| 4084 | loc, err := time.LoadLocation(location) |
| 4085 | if err != nil { |
| 4086 | t.Errorf("failed to load location %s: %s", location, err.Error()) |
| 4087 | } |
| 4088 | |
| 4089 | return loc |
| 4090 | } |
| 4091 | |
| 4092 | func TestWorkspaceResource(t *testing.T) { |
| 4093 | t.Parallel() |
no test coverage detected