Added comment to unit test

This commit is contained in:
Priya Wadhwa 2018-03-26 16:56:28 -07:00
parent 316e2847a7
commit 54a53489b2
No known key found for this signature in database
GPG Key ID: 0D0DAFD8F7AA73AE
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ import (
"testing"
)
// Each test here changes the same WorkingDir field in the config
// So, some of the tests build off of each other
// This is needed to make sure WorkingDir handles paths correctly
// For example, if WORKDIR specifies a non-absolute path, it should be appended to the current WORKDIR
var workdirTests = []struct {
path string
expectedPath string