Package: golang-github-koofr-go-httpclient / 0.0~git20190818.e0dc8fd-2

fix_tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/httpclient_test.go
+++ b/httpclient_test.go
@@ -106,7 +106,7 @@
 				FullURL: "://???",
 			})
 			Expect(err).To(HaveOccurred())
-			Expect(err.Error()).To(Equal(`parse ://???: missing protocol scheme`))
+			Expect(err.Error()).To(Equal(`parse "://???": missing protocol scheme`))
 		})
 	})
 
@@ -905,7 +905,7 @@
 
 			_, err = client.Request(req)
 			Expect(err).To(HaveOccurred())
-			Expect(err.Error()).To(Equal("Post http:/: broken body"))
+			Expect(err.Error()).To(Equal("Post \"http:/\": broken body"))
 
 			<-waitCh
 		})