Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client/pkg/testutil: eliminate copyToInterface function
AssertTrue and AssertFalse use copyToInterface to copy msg. This is unnecessary, cause we know the msgAndArgs param of assert.Equal is variadic: func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool This patch removes copyToInterface function, and use msg directly. Signed-off-by: Jes Cok <[email protected]>
- Loading branch information