|
|
@@ -30,12 +30,12 @@ func (suite *TypeBlocklistURITestSuite) TestUnmarshalNil() {
|
|
30
|
30
|
|
|
31
|
31
|
func (suite *TypeBlocklistURITestSuite) TestUnknownSchema() {
|
|
32
|
32
|
typ := &config.TypeBlocklistURI{}
|
|
33
|
|
- suite.Error(typ.UnmarshalText([]byte("gopher://lalala")))
|
|
|
33
|
+ suite.Error(typ.UnmarshalText([]byte("gopher://lalala")))
|
|
34
|
34
|
}
|
|
35
|
35
|
|
|
36
|
36
|
func (suite *TypeBlocklistURITestSuite) TestEmptyHost() {
|
|
37
|
37
|
typ := &config.TypeBlocklistURI{}
|
|
38
|
|
- suite.Error(typ.UnmarshalText([]byte("https:///path")))
|
|
|
38
|
+ suite.Error(typ.UnmarshalText([]byte("https:///path")))
|
|
39
|
39
|
}
|
|
40
|
40
|
|
|
41
|
41
|
func (suite *TypeBlocklistURITestSuite) TestUnmarshalFail() {
|