Remove modified check on fixture file

This commit is contained in:
Matt Colyer
2013-11-04 14:53:43 -08:00
parent 0695aafe80
commit ec761d00ef

View File

@@ -279,11 +279,3 @@ $.fn.textInput = (data) ->
event.initTextEvent('textInput', true, true, window, data)
event = $.event.fix(event)
$(this).trigger(event)
if process.platform is 'win32'
unmodifiedHash = '15b13ffbc8d1c1ba5af845e5902ae67c'
else
unmodifiedHash = "dd38087d0d7e3e4802a6d3f9b9745f2b"
unless fs.md5ForPath(require.resolve('./fixtures/sample.js')) is unmodifiedHash
throw new Error("Sample.js is modified")