From 6edf2cd4fdf4e61aba23bd538025fd8746a94fa7 Mon Sep 17 00:00:00 2001 From: Alex Indigo Date: Sun, 11 Jun 2017 00:48:20 -0700 Subject: [PATCH] 2.2.0 --- package.json | 2 +- test/integration/test-custom-filename.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7ee3cfd..27076be 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Felix Geisendörfer (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" diff --git a/test/integration/test-custom-filename.js b/test/integration/test-custom-filename.js index 9c9faf5..c296eb5 100644 --- a/test/integration/test-custom-filename.js +++ b/test/integration/test-custom-filename.js @@ -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);