Fix gofmt and golint issues (#90)

This commit is contained in:
Cameron Moore
2016-08-22 04:20:25 -05:00
committed by Thomas Pelletier
parent e6271032cc
commit bfe4a7e160
5 changed files with 21 additions and 21 deletions
+2 -3
View File
@@ -92,13 +92,12 @@ func TestTomlTreeConversionToMapWithTablesInMultipleChunks(t *testing.T) {
expected := map[string]interface{}{
"menu": map[string]interface{}{
"main": []interface{}{
map[string]interface{}{"a": "menu 1", "b": "menu 2", },
map[string]interface{}{"c": "menu 3", "d": "menu 4", },
map[string]interface{}{"a": "menu 1", "b": "menu 2"},
map[string]interface{}{"c": "menu 3", "d": "menu 4"},
},
},
}
treeMap := tree.ToMap()
testMaps(t, treeMap, expected)
}