From 307029fd0dc4886092f9196c275a71c3d8a32220 Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Thu, 16 Sep 2010 17:47:29 +0000 Subject: 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 --- share/www/script/test/basics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/test/basics.js') 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}); -- cgit v1.2.3