type id … var idtests … func testModCache(t *testing.T) string { … } // add a trivial package to the test module cache func addPkg(cachedir, dir string) error { … } // update, where new stuff is semantically better than old stuff func TestIncremental(t *testing.T) { … } // update, where new stuff is semantically worse than some old stuff func TestIncrementalNope(t *testing.T) { … } // choose the semantically-latest version, with a single symbol func TestDirsSinglePath(t *testing.T) { … }