Comparing v1.38.0...v1.38.2 · onsi/gomega

Commits on Aug 14, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Bump google.golang.org/protobuf from 1.36.6 to 1.36.7 (#857)

    Bumps google.golang.org/protobuf from 1.36.6 to 1.36.7.
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/protobuf
      dependency-version: 1.36.7
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

Commits on Aug 16, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Aug 18, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Aug 22, 2025

  1. fix(async_assertion): use correct error in errors.As

    In AsyncAssertion.match, there is a confusion between
    actualErr/matcherErr in one of the branches:
    
    Before this commit, the code is:
    ```
    if actualErr == nil
    	if matcherErr == nil {
    		// actualErr is nil, matcherErr is nil
    		…
    	} else {
    		// actualErr is nil, matcherErr is non-nil
    		var fgErr formattedGomegaError
    		if errors.As(actualErr, &fgErr) {
    			message += fgErr.FormattedGomegaError() + "\n"
    		} else {
    			message += renderError(fmt.Sprintf("The matcher passed to %s returned the following error:", assertion.asyncType), matcherErr)
    		}
    	}
    } else {
    	// actualErr is non-nil
    	…
    }
    ```
    
    Calling `errors.As` on the nil `actualErr` looks like a mistake, this commit
    changes it to `matcherErr` which is non-nil. This also matches the error
    used in the second branch of the `if errors.As()` test.
    
    This was reported by a static analysis tool.
    
    Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

  4. Configuration menu

    Browse the repository at this point in the history

  5. Configuration menu

    Browse the repository at this point in the history

  6. Configuration menu

    Browse the repository at this point in the history

  7. Configuration menu

    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history