Always use atom-shell's verion when uploading crash report.

This commit is contained in:
Cheng Zhao 2013-11-18 18:03:41 +08:00
parent aef6d44a01
commit 28b692aeaa
2 changed files with 5 additions and 17 deletions

View file

@ -13,7 +13,7 @@ describe 'crash-reporter module', ->
server = http.createServer (req, res) ->
form = new formidable.IncomingForm()
form.parse req, (error, fields, files) ->
assert.equal fields['atom_shell_version'], process.versions['atom-shell']
assert.equal fields['ver'], process.versions['atom-shell']
assert.equal fields['process_type'], 'renderer'
assert.equal files['upload_file_minidump']['name'], 'minidump.dmp'