tests: add functional tests for buildpacks plugin

This commit is contained in:
Jose Diaz-Gonzalez
2019-01-22 00:22:35 -05:00
parent 6cae92e1f1
commit d3d426a8d9
5 changed files with 221 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ func PropertyListAdd(pluginName string, appName string, property string, value s
lines = append(lines, line)
}
if index == 0 {
if index == 0 || index > len(scannedLines) {
lines = append(lines, value)
}