-
Notifications
You must be signed in to change notification settings - Fork 222
Comparing changes
Open a pull request
base repository: google/go-cmp
base: v0.5.7
head repository: google/go-cmp
compare: v0.5.9
- 12 commits
- 24 files changed
- 5 contributors
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 79433ac - Browse repository at this point
Copy the full SHA 79433acView commit details
Commits on Apr 25, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 4664e24 - Browse repository at this point
Copy the full SHA 4664e24View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 71220fc - Browse repository at this point
Copy the full SHA 71220fcView commit details
Commits on Apr 26, 2022
-
Versions older than Go 1.13 are no longer in use. Remove unnecessary dependencies.
Configuration menu - View commit details
-
Copy full SHA for 63c2960 - Browse repository at this point
Copy the full SHA 63c2960View commit details -
Configuration menu - View commit details
-
Copy full SHA for f144a35 - Browse repository at this point
Copy the full SHA f144a35View commit details
Commits on Jun 6, 2022
-
Use reflect.Value.IsZero (#297)
Now that Go 1.13 is the minimum version, we can use the reflect.Value.IsZero method instead of our own internal/value.IsZero function. Interestingly, our IsZero function pre-dates the IsZero method, but fortunately has the exact same semantics, since both are targetting semantics defined by the Go language specification.
Configuration menu - View commit details
-
Copy full SHA for a53d7e0 - Browse repository at this point
Copy the full SHA a53d7e0View commit details
Commits on Jul 13, 2022
-
Format with Go 1.19 formatter (#304)
This allows the GoDoc to take advantage of new markup syntax introduced in Go 1.19. This does not require that our minimum supported version be bumped to Go 1.19 since the pkgsite renders our godoc regardless of supported Go version.
Configuration menu - View commit details
-
Copy full SHA for 14ad8a0 - Browse repository at this point
Copy the full SHA 14ad8a0View commit details
Commits on Aug 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5dac6aa - Browse repository at this point
Copy the full SHA 5dac6aaView commit details -
Pre-declare global type variables (#302)
Co-authored-by: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f36a68d - Browse repository at this point
Copy the full SHA f36a68dView commit details -
Use value.TypeString in PathStep.String (#306)
The value.TypeString function is what the rest of the package uses and is slightly cleaner than using reflect.Type.String. Updates #305 Co-authored-by: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6606d4d - Browse repository at this point
Copy the full SHA 6606d4dView commit details
Commits on Aug 31, 2022
-
* Run tests on Go 1.19 * Format comment Finish the rest of the work for #304 Co-authored-by: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 377d283 - Browse repository at this point
Copy the full SHA 377d283View commit details
Commits on Sep 2, 2022
-
Adjust heuristic for line-based versus byte-based diffing (#299)
If the string has many characters that require escape sequences to print, then we need to take that into consideration and avoid byte-by-byte diffing. Co-authored-by: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a97318b - Browse repository at this point
Copy the full SHA a97318bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.5.7...v0.5.9