| ... | ... |
@@ -15,7 +15,7 @@ func init() {
|
| 15 | 15 |
Register("dummy", func(job *Job) string { return ""; })
|
| 16 | 16 |
} |
| 17 | 17 |
|
| 18 |
-func NewTestEngine(t *testing.T) *Engine {
|
|
| 18 |
+func newTestEngine(t *testing.T) *Engine {
|
|
| 19 | 19 |
// Use the caller function name as a prefix. |
| 20 | 20 |
// This helps trace temp directories back to their test. |
| 21 | 21 |
pc, _, _, _ := runtime.Caller(1) |
| ... | ... |
@@ -38,5 +38,5 @@ func NewTestEngine(t *testing.T) *Engine {
|
| 38 | 38 |
} |
| 39 | 39 |
|
| 40 | 40 |
func mkJob(t *testing.T, name string, args ...string) *Job {
|
| 41 |
- return NewTestEngine(t).Job(name, args...) |
|
| 41 |
+ return newTestEngine(t).Job(name, args...) |
|
| 42 | 42 |
} |