@@ -40,7 +40,7 @@ func TestGetShasum(t *testing.T) {
4040 asset : "terraform-provider-aws_1.0.0_linux_amd64.zip" ,
4141 handler : func (w http.ResponseWriter , r * http.Request ) {
4242 w .WriteHeader (http .StatusOK )
43- w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
43+ _ , _ = w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
4444789012ghi345 terraform-provider-aws_1.0.0_darwin_amd64.zip
4545` ))
4646 },
@@ -52,7 +52,7 @@ func TestGetShasum(t *testing.T) {
5252 asset : "terraform-provider-aws_1.0.0_windows_amd64.zip" ,
5353 handler : func (w http.ResponseWriter , r * http.Request ) {
5454 w .WriteHeader (http .StatusOK )
55- w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
55+ _ , _ = w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
5656789012ghi345 terraform-provider-aws_1.0.0_darwin_amd64.zip
5757` ))
5858 },
@@ -71,7 +71,7 @@ func TestGetShasum(t *testing.T) {
7171 asset : "terraform-provider-aws_1.0.0_linux_amd64.zip" ,
7272 handler : func (w http.ResponseWriter , r * http.Request ) {
7373 w .WriteHeader (http .StatusOK )
74- w .Write ([]byte (`` ))
74+ _ , _ = w .Write ([]byte (`` ))
7575 },
7676 wantErr : true ,
7777 },
@@ -80,7 +80,7 @@ func TestGetShasum(t *testing.T) {
8080 asset : "terraform-provider-aws_1.0.0_linux_amd64.zip" ,
8181 handler : func (w http.ResponseWriter , r * http.Request ) {
8282 w .WriteHeader (http .StatusOK )
83- w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
83+ _ , _ = w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
8484` ))
8585 },
8686 wantShasum : "abc123def456" ,
@@ -91,7 +91,7 @@ func TestGetShasum(t *testing.T) {
9191 asset : "terraform-provider-aws_1.0.0_linux_amd64.zip" ,
9292 handler : func (w http.ResponseWriter , r * http.Request ) {
9393 w .WriteHeader (http .StatusOK )
94- w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
94+ _ , _ = w .Write ([]byte (`abc123def456 terraform-provider-aws_1.0.0_linux_amd64.zip
9595` ))
9696 },
9797 wantErr : true ,
@@ -101,7 +101,7 @@ func TestGetShasum(t *testing.T) {
101101 asset : "terraform-provider-aws_4.67.0_linux_amd64.zip" ,
102102 handler : func (w http.ResponseWriter , r * http.Request ) {
103103 w .WriteHeader (http .StatusOK )
104- w .Write ([]byte (`1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef terraform-provider-aws_4.67.0_darwin_amd64.zip
104+ _ , _ = w .Write ([]byte (`1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef terraform-provider-aws_4.67.0_darwin_amd64.zip
105105fedcba0987654321fedcba0987654321fedcba0987654321fedcba0987654321 terraform-provider-aws_4.67.0_darwin_arm64.zip
106106abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 terraform-provider-aws_4.67.0_linux_amd64.zip
107107567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456 terraform-provider-aws_4.67.0_windows_amd64.zip
0 commit comments