Added comment to unit test
This commit is contained in:
parent
316e2847a7
commit
54a53489b2
|
|
@ -22,6 +22,10 @@ import (
|
||||||
"testing"
|
"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 {
|
var workdirTests = []struct {
|
||||||
path string
|
path string
|
||||||
expectedPath string
|
expectedPath string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue