[full-ci] revaBump-2.37.0 (#1433)

* revaBump-2.37.0

* Pipeline Restart, empty change

---------

Co-authored-by: Michael 'Flimmy' Flemming <m.flemming@opencloud.eu>
This commit is contained in:
Viktor Scharf
2025-09-02 09:29:50 +02:00
committed by GitHub
co-authored by Michael 'Flimmy' Flemming
parent a637ba34b1
commit 6352068a66
58 changed files with 12132 additions and 221 deletions
+10
View File
@@ -1,3 +1,13 @@
## 1.38.2
- roll back to go 1.23.0 [c404969]
## 1.38.1
### Fixes
Numerous minor fixes and dependency bumps
## 1.38.0
### Features
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"github.com/onsi/gomega/types"
)
const GOMEGA_VERSION = "1.38.0"
const GOMEGA_VERSION = "1.38.2"
const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler.
If you're using Ginkgo then you probably forgot to put your assertion in an It().
+1 -1
View File
@@ -452,7 +452,7 @@ func (assertion *AsyncAssertion) match(matcher types.GomegaMatcher, desiredMatch
}
} else {
var fgErr formattedGomegaError
if errors.As(actualErr, &fgErr) {
if errors.As(matcherErr, &fgErr) {
message += fgErr.FormattedGomegaError() + "\n"
} else {
message += renderError(fmt.Sprintf("The matcher passed to %s returned the following error:", assertion.asyncType), matcherErr)
+2 -1
View File
@@ -2,6 +2,7 @@ package matchers
import (
"bytes"
"errors"
"fmt"
"github.com/google/go-cmp/cmp"
@@ -32,7 +33,7 @@ func (matcher *BeComparableToMatcher) Match(actual any) (success bool, matchErr
if err, ok := r.(error); ok {
matchErr = err
} else if errMsg, ok := r.(string); ok {
matchErr = fmt.Errorf(errMsg)
matchErr = errors.New(errMsg)
}
}
}()
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings"
"github.com/onsi/gomega/format"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
type MatchYAMLMatcher struct {