Changed
-
hostsfile.NewDefaultStorage,hostsfile.Parse,hostsfile.Set.Add, andhostsfile.HandleSet.HandleInvalidall take a context argument now. -
testutil.AssertMarshalTextandtestutil.AssertUnmarshalTextare now type-generic. -
testutil.AssertErrorMsgandtestutil.RequireTypeAssertnow accept types from packagesassertandrequire.
Fixed
testutil.RequireTypeAssertnow works with interfaces.