Update module github.com/onsi/gomega to v1.16.0 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.13.0
->v1.16.0
Release Notes
onsi/gomega
v1.16.0
Compare Source
Features
aa69f1b
]dd83a96
]504e1f2
]e5b3157
]v1.15.0
Compare Source
1.15.0
Fixes
The previous version (1.14.0) introduced a change to allow
Eventually
andConsistently
to support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed toEventually/Consistently
in order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multipleEventually
s are running concurrently they race when overriding the singleton global fail handler.1.15.0 resolves this by requiring users who want to make assertions in
Eventually/Consistently
call backs to explicitly pass in a function that takes aGomega
as an argument. The passed-inGomega
instance can be used to make assertions. Any failures will causeEventually
to retry the callback. This cleaner interface avoids the issue of swapping out globals but comes at the cost of changing the contract introduced in v1.14.0. As such 1.15.0 introduces a breaking change with respect to 1.14.0 - however we expect that adoption of this feature in 1.14.0 remains limited.In addition, 1.15.0 cleans up some of Gomega's internals. Most users shouldn't notice any differences stemming from the refactoring that was made.
v1.14.0
Compare Source
1.14.0
Features
e94dbca
]2f04e6e
]These assertions must pass or the function is considered to have failed and is retried.
if they contain no failed assertion. Otherwise they return an error wrapping the first assertion failure. This allows
these functions to be used with the Succeed() matcher.
and halts execution in its passed-in callback.
Fixes
496e6fd
]7356360
]Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.