Skip to content

Commit

Permalink
fix(test): locale in Expire header
Browse files Browse the repository at this point in the history
Closes #1741
  • Loading branch information
comdiv committed Dec 2, 2015
1 parent 8f61eb2 commit db04cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/middleware/source_files.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('middleware.source_files', function () {
})

it('should send no-caching headers for js source files without timestamps', function () {
var ZERO_DATE = (new Date(0)).toString()
var ZERO_DATE = new RegExp(new Date(0).toString().substring(0, 33).replace(/\+/, '\\+'))

servedFiles([
new File('/src/some.js')
Expand Down

0 comments on commit db04cf0

Please sign in to comment.