Skip to content

settable time precision for small differences#66

Open
vendelin8 wants to merge 2 commits into
go-test:masterfrom
vendelin8:time-precision
Open

settable time precision for small differences#66
vendelin8 wants to merge 2 commits into
go-test:masterfrom
vendelin8:time-precision

Conversation

@vendelin8

Copy link
Copy Markdown

Stolen from here: #49

@daniel-nichter daniel-nichter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if added complexity in this package is worth just doing deep.Equal(t1.Truncate(time.Second), t2.Truncate(time.Second)) in the test case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants