rack/rack — Issue #297: Tests fail in all newly released versions, including 1.4.0
Author: graaff
Created: 2011-12-29 07:04:33+00:00
State: open

I'm getting test failures for all the newly released rack version with ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux]. For 1.4.0 they look like this:

```
Bacon::Error: "barfoofoo".==("foobarfoo") failed
./test/spec_response.rb:154: Rack::Response - has a useful constructor
./test/spec_response.rb:139
./test/spec_response.rb:5

Bacon::Error: "bar=2&foo=1".==("foo=1&bar=2") failed
./test/spec_utils.rb:193: Rack::Utils - should build query strings correctly
./test/spec_utils.rb:189
./test/spec_utils.rb:5

Bacon::Error: "bar=2&foo=1".==("foo=1&bar=2") failed
./test/spec_utils.rb:204: Rack::Utils - should build nested query strings correctly
./test/spec_utils.rb:199
./test/spec_utils.rb:5
```

The same tests fail also for the older versions. Looks like a hash-ordering assumption that only works on 1.9, perhaps triggered by the security fix?