Don't export structs that are not needed outside fixhandler package

This commit is contained in:
suhasgumma
2022-12-15 11:54:00 +05:30
parent 218c77f3ae
commit 0d76fffa48
5 changed files with 81 additions and 81 deletions
+4 -4
View File
@@ -66,11 +66,11 @@ func testDirectoryApplyFixHelper(t *testing.T, yamlExpressions *[][]string, dire
// make changes to temp file
h, _ := NewFixHandlerMock()
filePathFixInfo := make(map[string]*FileFixInfo)
filePathFixInfo := make(map[string]*fileFixInfo)
filePath := tempFile.Name()
filePathFixInfo[filePath] = &FileFixInfo{
ContentToAdd: make([]ContentToAdd, 0),
LinesToRemove: make([]LinesToRemove, 0),
filePathFixInfo[filePath] = &fileFixInfo{
contentToAdd: make([]contentToAdd, 0),
linesToRemove: make([]linesToRemove, 0),
}
fixInfo := filePathFixInfo[filePath]