Skip to content

Commit

Permalink
extprom: fix test (#6591)
Browse files Browse the repository at this point in the history
Fix the test by using proto.Equal() instead of using the not
deterministic String(). See
https://github.com/protocolbuffers/protobuf-go/blob/master/internal/encoding/text/encode.go#L229.

Fixes #6590

Signed-off-by: Giedrius Statkevičius <[email protected]>
  • Loading branch information
GiedriusS authored Aug 7, 2023
1 parent ffc42df commit 7d0d563
Show file tree
Hide file tree
Showing 2 changed files with 402 additions and 66 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ require (
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gonum.org/v1/gonum v0.12.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.30.0 // indirect
google.golang.org/protobuf v1.30.0
gopkg.in/ini.v1 v1.67.0 // indirect
howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect
)
Expand Down
Loading

0 comments on commit 7d0d563

Please sign in to comment.