[Pkg-javascript-commits] [node-mocks-http] 258/296: fixing error in test
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 71e2fd9d9980dfa14aa1d1a54de3a91d1f61013b
Author: fiiv <mike.timofiiv at gmail.com>
Date: Mon Sep 7 17:35:40 2015 +0200
fixing error in test
---
lib/mockRequest.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/mockRequest.js b/lib/mockRequest.js
index 5ea7bf2..7256cfc 100644
--- a/lib/mockRequest.js
+++ b/lib/mockRequest.js
@@ -77,7 +77,9 @@ function createRequest(options) {
// attach any other provided objects into the request for more advanced testing
for (var n in options) {
- if (standardRequestOptions.indexOf(n) === -1) mockRequest[n] = options[n];
+ if (standardRequestOptions.indexOf(n) === -1) {
+ mockRequest[n] = options[n];
+ }
}
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list