// Test runs the deadcode command on each scenario // described by a testdata/*.txtar file. func Test(t *testing.T) { … } // buildDeadcode builds the deadcode executable. // It returns its path, and a cleanup function. func buildDeadcode(t *testing.T) string { … } // words breaks a string into words, respecting // Go string quotations around words with spaces. func words(s string) ([]string, error) { … }