Various clean up before v2 (#9672)

* Update package names

* Various clean up

* Gazelle

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terence tsao
2021-09-24 10:42:16 -07:00
committed by GitHub
parent 78ea402d9d
commit ea9ceeff03
26 changed files with 25 additions and 150 deletions

View File

@@ -17,8 +17,8 @@ func RetrieveFiles(name string, t *testing.T) ([]string, [][]byte) {
testFiles, err := ioutil.ReadDir(filepath)
require.NoError(t, err)
fileNames := []string{}
fileContent := [][]byte{}
var fileNames []string
var fileContent [][]byte
require.Equal(t, false, len(testFiles) == 0, "no files exist in directory")
for _, f := range testFiles {
// Remove .yml suffix