another negotiator 3.0 fix
This commit is contained in:
parent
a129d41cc1
commit
836679c610
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue