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/proxyauth.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'share/www/script/test/proxyauth.js') diff --git a/share/www/script/test/proxyauth.js b/share/www/script/test/proxyauth.js index 171eef37..01d59192 100644 --- a/share/www/script/test/proxyauth.js +++ b/share/www/script/test/proxyauth.js @@ -39,7 +39,7 @@ couchTests.proxyauth = function(debug) { db.createDb(); var benoitcUserDoc = CouchDB.prepareUserDoc({ - name: "benoitc@apache.org", + name: "benoitc@apache.org" }, "test"); T(usersDb.save(benoitcUserDoc).ok); @@ -72,10 +72,9 @@ couchTests.proxyauth = function(debug) { }), "role": stringFun(function(doc, req) { return req.userCtx['roles'][0]; - }), + }) } - - } + }; db.save(designDoc); @@ -128,4 +127,4 @@ couchTests.proxyauth = function(debug) { TestFun ); -} \ No newline at end of file +}; \ No newline at end of file -- cgit v1.2.3