IMPORTANT note on file writing here: Inside the context of a single test, there is no concurrency, as setup, command and cleanup operate in sequence Furthermore, the tempdir is private by definition. Writing files here in a non-safe manner is thus OK.
()
| 42 | // Writing files here in a non-safe manner is thus OK. |
| 43 | |
| 44 | func getTarget() string { |
| 45 | // Indirecting to testutil for now |
| 46 | return testutil.GetTarget() |
| 47 | } |
| 48 | |
| 49 | func isTargetNerdish() bool { |
| 50 | return !strings.HasPrefix(filepath.Base(testutil.GetTarget()), "docker") |
no test coverage detected
searching dependent graphs…