You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/12/10 01:47:44 UTC
[pulsar-client-go] branch master updated: move license_test from
project root; change package name (#116)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new e65b479 move license_test from project root; change package name (#116)
e65b479 is described below
commit e65b4795a5928d7989c3089dca5e5243439160dd
Author: Reugn <re...@gmail.com>
AuthorDate: Tue Dec 10 03:47:35 2019 +0200
move license_test from project root; change package name (#116)
---
go.mod | 1 -
go.sum | 2 --
license_test.go => integration-tests/license_test.go | 6 +++---
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/go.mod b/go.mod
index 339748e..bdbadf1 100644
--- a/go.mod
+++ b/go.mod
@@ -16,5 +16,4 @@ require (
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.3.0
- github.com/valyala/gozstd v1.4.1
)
diff --git a/go.sum b/go.sum
index c3fdcf6..3d8be2a 100644
--- a/go.sum
+++ b/go.sum
@@ -34,7 +34,5 @@ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
-github.com/valyala/gozstd v1.4.1 h1:3/+pPStlV5Py2TsGhzNUItnYgX2yaX2tHMw/32c/0dM=
-github.com/valyala/gozstd v1.4.1/go.mod h1:oYOS+oJovjw9ewtrwEYb9+ybolEXd6pHyLMuAWN5zts=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
diff --git a/license_test.go b/integration-tests/license_test.go
similarity index 95%
rename from license_test.go
rename to integration-tests/license_test.go
index 84998c5..2613e25 100644
--- a/license_test.go
+++ b/integration-tests/license_test.go
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
-package main
+package license_test
import (
"io/ioutil"
@@ -65,11 +65,11 @@ var otherCheck = regexp.MustCompile(`#
`)
var skip = map[string]bool{
- "pkg/pb/PulsarApi.pb.go": true,
+ "../pkg/pb/PulsarApi.pb.go": true,
}
func TestLicense(t *testing.T) {
- err := filepath.Walk(".", func(path string, fi os.FileInfo, err error) error {
+ err := filepath.Walk("../.", func(path string, fi os.FileInfo, err error) error {
if skip[path] {
return nil
}