From 836679c61020b5d775f33ea97ec7a8f749df7aa6 Mon Sep 17 00:00:00 2001 From: Jonathan Ong Date: Fri, 8 Nov 2013 14:19:25 -0800 Subject: [PATCH] another negotiator 3.0 fix --- test/context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }) })