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

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 28 12:41:03 JST 2012


Kouhei Sutou	2012-11-28 12:41:03 +0900 (Wed, 28 Nov 2012)

  New Revision: 0d715e22af42f7d1b87f65c455e1fe0b519ece76
  https://github.com/groonga/groonga-command/commit/0d715e22af42f7d1b87f65c455e1fe0b519ece76

  Log:
    Indent

  Modified files:
    test/test-parser.rb

  Modified: test/test-parser.rb (+9 -9)
===================================================================
--- test/test-parser.rb    2012-11-28 12:40:28 +0900 (27dd95c)
+++ test/test-parser.rb    2012-11-28 12:41:03 +0900 (b86260f)
@@ -158,38 +158,38 @@ class ParserTest < Test::Unit::TestCase
 
         class MultiLineTest < self
           class BracketTest < self
-          def test_bracket
-            @parser << <<-EOC
+            def test_bracket
+              @parser << <<-EOC
 load --table Users
 [
 ["_key", "name"],
 ["alice", "Alice"]
 ]
 EOC
-            expected_events = []
-            expected_events << [:load_start, <<-EOC.chomp]
+              expected_events = []
+              expected_events << [:load_start, <<-EOC.chomp]
 load --table Users
 EOC
-            expected_events << [:load_header, <<-EOC.chomp, ["_key", "name"]]
+              expected_events << [:load_header, <<-EOC.chomp, ["_key", "name"]]
 load --table Users
 [
 ["_key", "name"]
 EOC
-            expected_events << [:load_value, <<-EOC.chomp, ["alice", "Alice"]]
+              expected_events << [:load_value, <<-EOC.chomp, ["alice", "Alice"]]
 load --table Users
 [
 ["_key", "name"],
 ["alice", "Alice"]
 EOC
-            expected_events << [:load_complete, <<-EOC.chomp]
+              expected_events << [:load_complete, <<-EOC.chomp]
 load --table Users
 [
 ["_key", "name"],
 ["alice", "Alice"]
 ]
 EOC
-            assert_equal(expected_events, @events)
-          end
+              assert_equal(expected_events, @events)
+            end
           end
 
           def test_brace
-------------- next part --------------
HTML����������������������������...
Download 



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