I recently stumbled upon my fix for #235 again and noticed that I hadn't modified the tests to use Rack::Lint and make sure no regressions will be introduced in the future. I also noticed that hardly any of the tests were using Rack::Lint as a means of verifying spec compliance. Middleware MUST conform to the spec and we can't be sure it does if we don't have tests for it.
This is just a first round with a few updated tests included to gather some feedback, I'll update the other tests if people are positive on this.
Wrap test apps in Rack::Lint (first pass)
Update tests for Auth::Basic, Auth::Digest, Builder, Casecase, Handler::CGI,
Chunked, CommonLogger and ConditionalGet.
Thanks, I'll update the other tests as well.
@lgierth please note the 1.8/1.9 fix I had to add.