[Groonga-commit] droonga/express-droonga at aa8833c [master] test: indent

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 21 18:29:20 JST 2014


Kouhei Sutou	2014-01-21 18:29:20 +0900 (Tue, 21 Jan 2014)

  New Revision: aa8833cda83a772f77c4bd35f755bcf9d8ba2d15
  https://github.com/droonga/express-droonga/commit/aa8833cda83a772f77c4bd35f755bcf9d8ba2d15

  Message:
    test: indent

  Modified files:
    test/adapter/http/register.test.js

  Modified: test/adapter/http/register.test.js (+34 -34)
===================================================================
--- test/adapter/http/register.test.js    2014-01-21 18:28:59 +0900 (5975cc1)
+++ test/adapter/http/register.test.js    2014-01-21 18:29:20 +0900 (e1f9523)
@@ -61,49 +61,49 @@ suite('adapter/http.register', function() {
     }
 
     suite('method', function() {
-    test('default', function() {
-      var noMethodCommand = new command.HTTPRequestResponse({
-        path: '/no-method'
+      test('default', function() {
+        var noMethodCommand = new command.HTTPRequestResponse({
+          path: '/no-method'
+        });
+        assert.deepEqual(register({ 'no-method': noMethodCommand }),
+                         { 'get': ['/no-method'] });
       });
-      assert.deepEqual(register({ 'no-method': noMethodCommand }),
-                       { 'get': ['/no-method'] });
-    });
 
-    test('get', function() {
-      var getMethodCommand = new command.HTTPRequestResponse({
-        path:   '/get',
-        method: 'GET'
+      test('get', function() {
+        var getMethodCommand = new command.HTTPRequestResponse({
+          path:   '/get',
+          method: 'GET'
+        });
+        assert.deepEqual(register({ 'get-method': getMethodCommand }),
+                         { 'get': ['/get'] });
       });
-      assert.deepEqual(register({ 'get-method': getMethodCommand }),
-                       { 'get': ['/get'] });
-    });
 
-    test('post', function() {
-      var postMethodCommand = new command.HTTPRequestResponse({
-        path:   '/post',
-        method: 'POST'
+      test('post', function() {
+        var postMethodCommand = new command.HTTPRequestResponse({
+          path:   '/post',
+          method: 'POST'
+        });
+        assert.deepEqual(register({ 'post-method': postMethodCommand }),
+                         { 'post': ['/post'] });
       });
-      assert.deepEqual(register({ 'post-method': postMethodCommand }),
-                       { 'post': ['/post'] });
-    });
 
-    test('put', function() {
-      var putMethodCommand = new command.HTTPRequestResponse({
-        path:   '/put',
-        method: 'PUT'
+      test('put', function() {
+        var putMethodCommand = new command.HTTPRequestResponse({
+          path:   '/put',
+          method: 'PUT'
+        });
+        assert.deepEqual(register({ 'put-method': putMethodCommand }),
+                         { 'put': ['/put'] });
       });
-      assert.deepEqual(register({ 'put-method': putMethodCommand }),
-                       { 'put': ['/put'] });
-    });
 
-    test('delete', function() {
-      var deleteMethodCommand = new command.HTTPRequestResponse({
-        path:   '/delete',
-        method: 'DELETE'
+      test('delete', function() {
+        var deleteMethodCommand = new command.HTTPRequestResponse({
+          path:   '/delete',
+          method: 'DELETE'
+        });
+        assert.deepEqual(register({ 'delete-method': deleteMethodCommand }),
+                         { 'delete': ['/delete'] });
       });
-      assert.deepEqual(register({ 'delete-method': deleteMethodCommand }),
-                       { 'delete': ['/delete'] });
-    });
     });
   });
 });
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index