Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexindigo committed Jun 11, 2017
1 parent 561dece commit 6edf2cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)",
"name": "form-data",
"description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
"version": "2.1.4",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "git://github.com/form-data/form-data.git"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test-custom-filename.js
Expand Up @@ -38,7 +38,7 @@ var server = http.createServer(function(req, res) {
assert.strictEqual(files['custom_filename'].type, mime.lookup(knownFile), 'Expects original content-type');

assert('custom_filepath' in files);
assert.strictEqual(files['custom_filepath'].name, relativeFile.replace(/\\/g, '/'), 'Expects custom filename');
assert.strictEqual(files['custom_filepath'].name, relativeFile.replace(/\\/g, '/'), 'Expects custom filepath');
assert.strictEqual(files['custom_filepath'].type, mime.lookup(knownFile), 'Expects original content-type');

assert('unknown_with_filename' in files);
Expand Down

0 comments on commit 6edf2cd

Please sign in to comment.