Update module github.com/maxatome/go-testdeep to v1.12.0 #15
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: prskr/kreaper#15
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-maxatome-go-testdeep-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.11.0
->v1.12.0
Release Notes
maxatome/go-testdeep
v1.12.0
Compare Source
New features
Struct
][Struct] & [SStruct
][SStruct] can override model fields in expectedFields, as in:Struct
][Struct] & [SStruct
][SStruct] expectedFields is now optional or multiple. If multiple, all maps are merged from left to right;tdsuite
][tdsuite] @deathiopGiven the 5 hooks:
Setup
PreTest
PostTest
BetweenTests
Destroy
raise an error when a method is defined on a [
tdsuite
][tdsuite] with one of these names but without matching the proper interface;tdsuite.Run()
misuse, warn the user when it is called with a non-pointer suite, and some key methods are only available via a pointer suite;tdhttp.Options
function &tdhttp.TestAPI.Options
method;Code
][Code] can now officially delegate its comparison, using two new kinds of function:func(t *td.T, arg)
func(assert, require *td.T, arg)
this way the usage of [
*td.T
][*td.T] methods is secure. Note that these functions do not return anything;*td.T
][*td.T] instance asCmp*
first parameter now allows to inherit its configuration. is the same as:Fixes
Helper()
was not called inT.LogTrace
,T.ErrorTrace
andT.FatalTrace
methods. Fixed;UseEqual
& anchoring feature didn't play well together. Fixed;Miscellaneous
any
instead ofinterface{}
;As usual: enjoy! :)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.