New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghttp.Server
doesn't work with gomega.NewGomegaWithT(t)
#321
Comments
If I understand you correctly, you're saying that this block:
Fails, when it should pass? |
yes. |
I suppose this sort of makes sense, since the I'll have a think about potential solutions, also open to ideas :) |
I added a branch (da2dee8) with some thoughts. I didn't give it a huge amount of consideration, just wanted to get some ideas down quickly. Using this branch we can rewrite your first test:
Would be interested to see if:
I haven't written any tests and there's surely some refactoring I could do for code reuse. |
thanks for getting back so quick. |
Is there any plan to upstream the If there's lingering work to be done to clean up that branch I'd be happy to contribute |
Hi @xanderflood, the main reason this is lingering is because I wasn't very happy with the solution. It was a large amount of duplicated code I was worried about keeping in sync. It's possible I'm missing something obvious, so if you have thoughts on how to reduce the duplication that would definitely be appreciated. |
@williammartin Needs a little cleanup but how do feel about this general idea? It required making a small addition upstairs in the |
@williammartin 🤦♀ completely forgot to link to the actual PR #376 |
Please see https://gist.github.com/s12chung/8ea6d4919b302beef81d2646161c551a
The text was updated successfully, but these errors were encountered: