We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b21903 commit 89f0ad2Copy full SHA for 89f0ad2
1 file changed
lib/config_test.go
@@ -8,6 +8,7 @@ package lib
8
import (
9
"os"
10
"path/filepath"
11
+ "runtime"
12
"testing"
13
14
qt "github.com/frankban/quicktest"
@@ -48,7 +49,9 @@ func TestConfigFromArgs(t *testing.T) {
48
49
c.Assert(cfg.ACL, qt.Equals, "public-read")
50
c.Assert(cfg.BucketPath, qt.Equals, "mypath")
51
c.Assert(cfg.Silent, qt.Equals, true)
- c.Assert(cfg.SourcePath, qt.Contains, tempDir)
52
+ if runtime.GOOS != "windows" {
53
+ c.Assert(cfg.SourcePath, qt.Contains, tempDir)
54
+ }
55
c.Assert(cfg.EndpointURL, qt.Equals, "http://localhost:9000")
56
c.Assert(cfg.Try, qt.Equals, true)
57
c.Assert(cfg.RegionName, qt.Equals, "myregion")
0 commit comments