Repository: calcite-avatica-go Updated Branches: refs/heads/remove-gopher-png [created] 7156d8219
Replace gopher.png with calcite logo Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/4fcb1312 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/4fcb1312 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/4fcb1312 Branch: refs/heads/remove-gopher-png Commit: 4fcb13121fc614a60897f9a5743aad3a54b4c31b Parents: ee3c982 Author: Francis Chuang <[email protected]> Authored: Fri Apr 20 15:30:43 2018 +1000 Committer: Francis Chuang <[email protected]> Committed: Fri Apr 20 15:30:43 2018 +1000 ---------------------------------------------------------------------- driver_hsqldb_test.go | 4 +--- driver_phoenix_test.go | 4 +--- test-fixtures/calcite.png | Bin 0 -> 69304 bytes test-fixtures/gopher.png | Bin 114063 -> 0 bytes 4 files changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/driver_hsqldb_test.go ---------------------------------------------------------------------- diff --git a/driver_hsqldb_test.go b/driver_hsqldb_test.go index 7597cd2..a926850 100644 --- a/driver_hsqldb_test.go +++ b/driver_hsqldb_test.go @@ -425,7 +425,7 @@ func TestHSQLDBStoreAndRetrieveBinaryData(t *testing.T) { bin VARBINARY(999999) )`) - filePath := filepath.Join("test-fixtures", "gopher.png") + filePath := filepath.Join("test-fixtures", "calcite.png") file, err := ioutil.ReadFile(filePath) @@ -454,8 +454,6 @@ func TestHSQLDBStoreAndRetrieveBinaryData(t *testing.T) { } } - ioutil.WriteFile("test-fixtures/gopher.png", receivedFile, os.ModePerm) - receivedHash := sha256.Sum256(receivedFile) if !bytes.Equal(hash[:], receivedHash[:]) { http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/driver_phoenix_test.go ---------------------------------------------------------------------- diff --git a/driver_phoenix_test.go b/driver_phoenix_test.go index b33830b..6d77b6a 100644 --- a/driver_phoenix_test.go +++ b/driver_phoenix_test.go @@ -439,7 +439,7 @@ func TestPhoenixStoreAndRetrieveBinaryData(t *testing.T) { bin VARBINARY ) TRANSACTIONAL=false`) - filePath := filepath.Join("test-fixtures", "gopher.png") + filePath := filepath.Join("test-fixtures", "calcite.png") file, err := ioutil.ReadFile(filePath) @@ -468,8 +468,6 @@ func TestPhoenixStoreAndRetrieveBinaryData(t *testing.T) { } } - ioutil.WriteFile("test-fixtures/gopher.png", receivedFile, os.ModePerm) - receivedHash := sha256.Sum256(receivedFile) if !bytes.Equal(hash[:], receivedHash[:]) { http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/test-fixtures/calcite.png ---------------------------------------------------------------------- diff --git a/test-fixtures/calcite.png b/test-fixtures/calcite.png new file mode 100644 index 0000000..b883465 Binary files /dev/null and b/test-fixtures/calcite.png differ http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/test-fixtures/gopher.png ---------------------------------------------------------------------- diff --git a/test-fixtures/gopher.png b/test-fixtures/gopher.png deleted file mode 100644 index 26b9893..0000000 Binary files a/test-fixtures/gopher.png and /dev/null differ
