[Groonga-commit] groonga/groonga-command [master] Indent

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 28 12:53:42 JST 2012


Kouhei Sutou	2012-11-28 12:53:42 +0900 (Wed, 28 Nov 2012)

  New Revision: 4b0d38a6d885a30a0b84a80fa1a0bc8f740698bb
  https://github.com/groonga/groonga-command/commit/4b0d38a6d885a30a0b84a80fa1a0bc8f740698bb

  Log:
    Indent

  Modified files:
    test/test-parser.rb

  Modified: test/test-parser.rb (+12 -12)
===================================================================
--- test/test-parser.rb    2012-11-28 12:53:28 +0900 (3fce7bb)
+++ test/test-parser.rb    2012-11-28 12:53:42 +0900 (2887389)
@@ -129,18 +129,18 @@ class ParserTest < Test::Unit::TestCase
 
         class InlineTest < self
           class BracketTest < self
-          def test_bracket
-            command_line = "load --values '[{\"_key\": 1}]' --table IDs"
-            @parser << command_line
-            assert_equal([], @events)
-            @parser << "\n"
-            assert_equal([
-                           [:load_start, command_line],
-                           [:load_value, command_line, {"_key" => 1}],
-                           [:load_complete, command_line],
-                         ],
-                         @events)
-          end
+            def test_bracket
+              command_line = "load --values '[{\"_key\": 1}]' --table IDs"
+              @parser << command_line
+              assert_equal([], @events)
+              @parser << "\n"
+              assert_equal([
+                             [:load_start, command_line],
+                             [:load_value, command_line, {"_key" => 1}],
+                             [:load_complete, command_line],
+                           ],
+                           @events)
+            end
           end
 
           def test_brace
-------------- next part --------------
HTML����������������������������...
Download 



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