another negotiator 3.0 fix

This commit is contained in:
Jonathan Ong 2013-11-08 14:19:25 -08:00
parent a129d41cc1
commit 836679c610

View file

@ -509,7 +509,7 @@ describe('ctx.acceptedLanguages', function(){
it('should return accepted types', function(){
var ctx = context();
ctx.req.headers['accept-language'] = 'en;q=0.8, es, pt';
ctx.acceptedLanguages.should.eql(['pt', 'es', 'en']);
ctx.acceptedLanguages.should.eql(['es', 'pt', 'en']);
})
})