tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

`make test` fail in master branch #182

Closed alsotang closed 10 years ago

alsotang commented 10 years ago

1 .

These failed tests are related to jquery tests.

And in the error message, expected and actual are opposited.

qq20140219-1

2 .

    ({
      headers: {
        'content-type': 'image/x-icon',
        'content-length': '318',
        etag: '"4acba26164356285e6908e8bf0529fab"',
        'cache-control': 'public, max-age=86400',
        'x-response-time': '1ms',
        date: 'Wed, 19 Feb 2014 05:20:55 GMT',
        connection: 'close'
      }
    }).should.header('Content-Type');

should be ok. and the error message is obscure

alsotang commented 10 years ago

I will fix this.