| 1 |
From: Tianon Gravi <[email protected]> |
| 2 |
Date: Sat, 5 Sep 2015 17:01:00 +0200 |
| 3 |
Subject: skip internet-connecting test |
| 4 |
|
| 5 |
Reviewed-by: Dmitry Smirnov, <[email protected]>, Anthony Fok <[email protected]> |
| 6 |
Last-Update: 2015-09-05, 2016-04-11, 2023-12-08 |
| 7 |
--- |
| 8 |
canonical_test.go | 4 ++++ |
| 9 |
1 file changed, 4 insertions(+) |
| 10 |
|
| 11 |
diff --git a/canonical_test.go b/canonical_test.go |
| 12 |
index 2b11ccf..6e83cbb 100644 |
| 13 |
--- a/canonical_test.go |
| 14 |
+++ b/canonical_test.go |
| 15 |
@@ -93,6 +93,10 @@ func TestEmptyHost(t *testing.T) { |
| 16 |
} |
| 17 |
|
| 18 |
func TestHeaderWrites(t *testing.T) { |
| 19 |
+ if testing.Short() { |
| 20 |
+ t.Skip("skipping internet-connecting test in short mode") |
| 21 |
+ } |
| 22 |
+ |
| 23 |
gorilla := "http://www.gorillatoolkit.org" |
| 24 |
|
| 25 |
testHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |