(t *testing.T, message string)
| 1600 | } |
| 1601 | |
| 1602 | func (r *testRepo) commit(t *testing.T, message string) string { |
| 1603 | t.Helper() |
| 1604 | r.run(t, "commit", "--quiet", "--allow-empty", "-m", message) |
| 1605 | return r.run(t, "rev-parse", "HEAD") |
| 1606 | } |
| 1607 | |
| 1608 | func (r *testRepo) fileURL() string { |
| 1609 | return fileURL(r.dir) |
no test coverage detected