Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/go-cmp Loading
base: v0.5.7
Choose a base ref
...
head repository: google/go-cmp Loading
compare: v0.5.8
Choose a head ref
  • 5 commits
  • 14 files changed
  • 3 contributors

Commits on Mar 22, 2022

  1. Run tests on Go 1.18 (#290)

    Aoang committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    79433ac View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Fix printing of types in reporter output (#293)

    When printing a pointer, only elide the type for unnamed pointers.
    Otherwise, we can run into situations where named and unnamed pointers
    format the same way in indistinguishable ways.
    
    When printing an interview, never skip the interface type.
    Whether we skip printing the type should be determined by the
    parent containers, and not locally determined.
    For examples, interface values within a struct, slice, or map
    will always be elided since they can be inferred.
    dsnet committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    4664e24 View commit details
    Browse the repository at this point in the history
  2. Use string formatting for slice of bytes (#294)

    If a slice of bytes is mostly text, format them as text
    instead of as []byte literal with hexadecimal digits.
    
    Avoid always printing the type. This is technically invalid Go code,
    but is unnecessary in many cases since the type is inferred
    from the parent concrete type.
    
    Fixes #272
    dsnet committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    71220fc View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. remove xerrors (#292)

    Versions older than Go 1.13 are no longer in use. Remove unnecessary
    dependencies.
    catatsuy committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    63c2960 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f144a35 View commit details
    Browse the repository at this point in the history
Loading