]> Cypherpunks repositories - gostls13.git/commitdiff
Revert "net/url: fail TestParseErrors test when getting an unwanted error"
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 27 Aug 2019 17:09:56 +0000 (17:09 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 27 Aug 2019 17:25:52 +0000 (17:25 +0000)
This reverts https://golang.org/cl/185080.

Reason for revert: some new changes are erroring again, so this broke the builders.

Change-Id: I28da16da98b90cefbb47173d31bbbb56e43062d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/191781
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/net/url/url_test.go

index b86956906d845db1dd6c7f3f441a3a16d49eee0d..e83c86c424324e7b77b9598cc9bc6ff0709ba527 100644 (file)
@@ -1456,7 +1456,7 @@ func TestParseErrors(t *testing.T) {
                        continue
                }
                if err != nil {
-                       t.Errorf("Parse(%q) = %v; want no error", tt.in, err)
+                       t.Logf("Parse(%q) = %v; want no error", tt.in, err)
                }
        }
 }