Skip to content

Conversation

RichardKnop
Copy link
Contributor

I have added a test case for a function with a mix of normal and variadic arguments. For example:

TheExampleMethodMixedVariadic(a int, b ...int) error

At first I thought there was a bug in the library in such case as I was getting a weird panic in my code so I wrote this test just to make sure it works as expected.

Later I found out the bug was on my side and testify works correctly.

But it might be useful to have this extra test upstream anyways :)

@DAddYE DAddYE merged commit 18cfa68 into stretchr:master May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants