Skip to content

Commit

Permalink
Merge pull request #1742 from comdiv/1741
Browse files Browse the repository at this point in the history
fix(test): closes #1741
  • Loading branch information
dignifiedquire committed Dec 3, 2015
2 parents f73c796 + db04cf0 commit 1d8ca12
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 1d8ca12

Please sign in to comment.