Run gofmt -s with Go 1.10

See #4434
This commit is contained in:
Bjørn Erik Pedersen
2018-02-21 09:23:43 +01:00
parent c2c4cb1f9f
commit 772128485a
9 changed files with 37 additions and 37 deletions

View File

@@ -670,10 +670,10 @@ func TestFindCWD(t *testing.T) {
//cwd, _ := os.Getwd()
data := []test{
//{cwd, nil},
// Commenting this out. It doesn't work properly.
// There's a good reason why we don't use os.Getwd(), it doesn't actually work the way we want it to.
// I really don't know a better way to test this function. - SPF 2014.11.04
//{cwd, nil},
// Commenting this out. It doesn't work properly.
// There's a good reason why we don't use os.Getwd(), it doesn't actually work the way we want it to.
// I really don't know a better way to test this function. - SPF 2014.11.04
}
for i, d := range data {
dir, err := FindCWD()