diff --git a/test/context.js b/test/context.js index 51ec04b..33e1c3e 100644 --- a/test/context.js +++ b/test/context.js @@ -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']); }) })