andelf / go-curl

golang curl(libcurl) binding.
Apache License 2.0
485 stars 131 forks source link

Fix tests so that they can be run offline. #13

Closed rvbaz closed 11 years ago

rvbaz commented 11 years ago

This branch refactors the tests so that they can be run completely offline. This is mostly to speed up the tests and to avoid having to query an external server every time the tests are run. This branch also changes the tests so that they will only output something if there is an error, making it more convenient to spot errors when running the tests. The changes to easy.go are drive-by fixes of the panic messages.

andelf commented 11 years ago

thanks. :)