Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/go.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ $ govendor test +local
----

Tests are written using the link:https://onsi.github.io/ginkgo/[Ginkgo] BDD testing framework
and the link:http://onsi.github.io/gomega/[Gomega] matcher library, which are included in the `/vendor`
and the link:https://onsi.github.io/gomega/[Gomega] matcher library, which are included in the `/vendor`
directory.

To run tests using Ginkgo, install the executable as follows (unless you did that already):
Expand Down
2 changes: 1 addition & 1 deletion download/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const (
cfHomeProperty = "CF_HOME"
homeProperty = "HOME"
errMessage = "worse things happen at sea"
urlValue = "http://host/path/file.extension"
urlValue = "https://host/path/file.extension"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions download/cache/etag_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

var _ = Describe("EtagIndex", func() {
const (
url1 = "http://url.1"
url2 = "http://url.2"
url1 = "https://url.1"
url2 = "https://url.2"
etag1 = "etag1"
etag2 = "etag2"
)
Expand Down
8 changes: 4 additions & 4 deletions download/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
ifNoneMatchHeader = "If-None-Match"
etagHeader = "ETag"
etagValue = "etag"
urlValue = "http://some/remote/file"
urlValue = "https://some/remote/file"
checksumValue = "checksum"
testFilePath = "/some/path"
)
Expand Down Expand Up @@ -129,7 +129,7 @@ var _ = Describe("Download", func() {
})

It("should propagate the error", func() {
Expect(err).To(MatchError(fmt.Sprintf(`CreateHttpRequest for download URL "http://some/remote/file" failed: %s`, errMessage)))
Expect(err).To(MatchError(fmt.Sprintf(`CreateHttpRequest for download URL "https://some/remote/file" failed: %s`, errMessage)))
})
})

Expand Down Expand Up @@ -190,7 +190,7 @@ var _ = Describe("Download", func() {
})

It("should propagate the error", func() {
Expect(err).To(MatchError(fmt.Sprintf(`Download from URL "http://some/remote/file" failed: %s`, errMessage)))
Expect(err).To(MatchError(fmt.Sprintf(`Download from URL "https://some/remote/file" failed: %s`, errMessage)))
})
})

Expand Down Expand Up @@ -435,7 +435,7 @@ var _ = Describe("HttpResponse", func() {

var _ = Describe("CreateHttpRequest", func() {
It("should return a suitable error when the method is unknown", func() {
_, err := download.NewHttpHelper().CreateHttpRequest("bad method", "http://example.com")
_, err := download.NewHttpHelper().CreateHttpRequest("bad method", "https://example.com")
Expect(err).To(MatchError(`net/http: invalid method "bad method"`))
})
})
2 changes: 1 addition & 1 deletion vendor/github.com/fatih/color/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/mattn/go-isatty/isatty_solaris.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/onsi/ginkgo/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions vendor/github.com/onsi/ginkgo/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/onsi/ginkgo/config/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions vendor/github.com/onsi/ginkgo/ginkgo_dsl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/onsi/ginkgo/reporters/junit_reporter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vendor/github.com/onsi/gomega/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vendor/github.com/onsi/gomega/gomega_dsl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/onsi/gomega/matchers/type_support.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading