Skip to content

Commit

Permalink
Change order of redirects to show they are unsorted
Browse files Browse the repository at this point in the history
  • Loading branch information
elvingm committed Feb 12, 2016
1 parent 8cb2a45 commit 75ea468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/promises/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ W = require 'when'

config =
redirects: [
'/ecommerce /closed 404'
'/* /index.html 200'
'/news /blog 301'
'/news/:year/:month:/:date/:slug /blog/:year/:month/:date/:story_id 301'
'/news/* /blog/:splat 301'
'/temp_redirect / 302'
'/ecommerce /closed 404'
]
headers:
'/protected/path':
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/promises/expected/_redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/ecommerce /closed 404
/* /index.html 200
/news /blog 301
/news/:year/:month:/:date/:slug /blog/:year/:month/:date/:story_id 301
/news/* /blog/:splat 301
/temp_redirect / 302
/ecommerce /closed 404

0 comments on commit 75ea468

Please sign in to comment.