summaryrefslogtreecommitdiff
path: root/jstests/slow2
diff options
context:
space:
mode:
authordaveh86 <howsdav@gmail.com>2014-05-14 19:43:38 -0400
committerBenety Goh <benety@mongodb.com>2014-05-22 09:17:09 -0400
commit0e224f9a0fe0a37ee2b22c0a0ba20ec2a1f48aeb (patch)
tree4e7cbbd2f720c6e21a35b8d1b4d493522fbd8291 /jstests/slow2
parent885e11b64dae39b4a90304e754caa26254442180 (diff)
downloadmongo-0e224f9a0fe0a37ee2b22c0a0ba20ec2a1f48aeb.tar.gz
SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"
Includes both the initial patch to remove all throws and patches for all failing tests Signed-off-by: Benety Goh <benety@mongodb.com>
Diffstat (limited to 'jstests/slow2')
-rwxr-xr-xjstests/slow2/32bit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slow2/32bit.js b/jstests/slow2/32bit.js
index a149ea3e8dd..5881b2eea71 100755
--- a/jstests/slow2/32bit.js
+++ b/jstests/slow2/32bit.js
@@ -106,7 +106,7 @@ function f() {
print(res.result);
printjson(res);
//mydb.dropDatabase();
- throw "fail validating 32bit.js";
+ throw Error("fail validating 32bit.js");
}
mydb.dropDatabase();