]> Cypherpunks repositories - gostls13.git/commit
net/url: fail TestParseErrors test when getting an unwanted error
authorStefan Baebler <sbaebler@outbrain.com>
Wed, 7 Aug 2019 14:16:59 +0000 (14:16 +0000)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Tue, 27 Aug 2019 16:55:43 +0000 (16:55 +0000)
commit32b9e568d8c28e63a8f1d93e69b57794350de159
tree35762cdbb81a757d91ef368234d5b292ca426b36
parentb963149d4eddaf92d9e2a9d3bf5474c2d0a3b55d
net/url: fail TestParseErrors test when getting an unwanted error

The TestParseErrors test function was not strict with unwanted errors
received from url.Parse(). It was not failing in such cases, now it does.

Change-Id: I18a26a68c1136f5c762989a76e04b47e33dd35f1
GitHub-Last-Rev: c33f9842f7908f27012859e25caa79388cc2785a
GitHub-Pull-Request: golang/go#32954
Reviewed-on: https://go-review.googlesource.com/c/go/+/185080
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/url/url_test.go