Skip to content

Commit

Permalink
Re-read data into wrapper to ensure consistency to execution environment
Browse files Browse the repository at this point in the history
  • Loading branch information
tobischo committed Sep 12, 2022
1 parent 498215a commit 3c9b780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func prepareTimeWrapper(time time.Time) (*w.TimeWrapper, string) {
wrapper := &w.TimeWrapper{Time: time}
data, _ := wrapper.MarshalText()
text := string(data)
wrapper.UnmarshalText(data)

return wrapper, text
}
Expand Down

0 comments on commit 3c9b780

Please sign in to comment.