diff options
author | daveh86 <howsdav@gmail.com> | 2014-05-14 19:43:38 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-05-22 09:17:09 -0400 |
commit | 0e224f9a0fe0a37ee2b22c0a0ba20ec2a1f48aeb (patch) | |
tree | 4e7cbbd2f720c6e21a35b8d1b4d493522fbd8291 /jstests/core/count10.js | |
parent | 885e11b64dae39b4a90304e754caa26254442180 (diff) | |
download | mongo-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/core/count10.js')
-rw-r--r-- | jstests/core/count10.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/count10.js b/jstests/core/count10.js index 21243b3151d..ef739d1a88e 100644 --- a/jstests/core/count10.js +++ b/jstests/core/count10.js @@ -52,8 +52,8 @@ jsTest.log("count10.js: killed count output start"); printjson(res); jsTest.log("count10.js: killed count output end"); assert(res); -assert(res.match(/count failed/) !== null); -assert(res.match(/\"code\"/) !== null); +assert(res.message.match(/count failed/) !== null); +assert(res.message.match(/\"code\"/) !== null); s(); |