diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-16 17:47:29 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-16 17:47:29 +0000 |
commit | 307029fd0dc4886092f9196c275a71c3d8a32220 (patch) | |
tree | f6d13682fbc2375b712470b7914fa088d8518ab6 /share/www/script/test/basics.js | |
parent | 6cc96f2ac7b2dfa04b57d5523cfe6c8b0b6c083b (diff) |
JavaScript test files: adding missing semi-colons (Chrome is sensitive about them, but they're not mandatory according to ECMAScript spec) and removing extra commas.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/basics.js')
-rw-r--r-- | share/www/script/test/basics.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js index f0792a1e..2deb094a 100644 --- a/share/www/script/test/basics.js +++ b/share/www/script/test/basics.js @@ -44,7 +44,7 @@ couchTests.basics = function(debug) { // Get the database info, check the db_name T(db.info().db_name == "test_suite_db"); - T(CouchDB.allDbs().indexOf("test_suite_db") != -1) + T(CouchDB.allDbs().indexOf("test_suite_db") != -1); // Get the database info, check the doc_count T(db.info().doc_count == 0); @@ -194,7 +194,7 @@ couchTests.basics = function(debug) { ["zebrafish", {"_zoom": "hello"}], ["mudfish", {"zane": "goldfish", "_fan": "something smells delicious"}], ["tastyfish", {"_bing": {"wha?": "soda can"}}] - ] + ]; var test_doc = function(info) { var data = JSON.stringify(info[1]); xhr = CouchDB.request("PUT", "/test_suite_db/" + info[0], {body: data}); |