[Groonga-commit] ranguba/rroonga at fb89686 [master] test: indent

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Apr 11 22:58:38 JST 2015


Kouhei Sutou	2015-04-11 22:58:38 +0900 (Sat, 11 Apr 2015)

  New Revision: fb896861fd171890ca23029008a483aae988c0ee
  https://github.com/ranguba/rroonga/commit/fb896861fd171890ca23029008a483aae988c0ee

  Message:
    test: indent

  Modified files:
    test/test-expression.rb

  Modified: test/test-expression.rb (+16 -16)
===================================================================
--- test/test-expression.rb    2015-04-11 22:58:02 +0900 (e5e6cee)
+++ test/test-expression.rb    2015-04-11 22:58:38 +0900 (b0ea3c7)
@@ -229,16 +229,16 @@ class ExpressionTest < Test::Unit::TestCase
 
   class AppendOperatorTest < self
     class PlusTest < self
-    setup
-    def setup_expression
-      @expression = Groonga::Expression.new
-      @expression.append_constant(29)
-      @expression.append_constant(92)
-    end
+      setup
+      def setup_expression
+        @expression = Groonga::Expression.new
+        @expression.append_constant(29)
+        @expression.append_constant(92)
+      end
 
-    def test_constant
-      @expression.append_operation(Groonga::Operator::PLUS, 2)
-      assert_equal(<<-INSPECTED.chomp, @expression.inspect)
+      def test_constant
+        @expression.append_operation(Groonga::Operator::PLUS, 2)
+        assert_equal(<<-INSPECTED.chomp, @expression.inspect)
 #<Groonga::Expression
   vars:{
   },
@@ -247,12 +247,12 @@ class ExpressionTest < Test::Unit::TestCase
     1:<push n_args:1, flags:0, modify:0, value:92>,
     2:<plus n_args:2, flags:0, modify:0, value:(NULL)>
   }>
-      INSPECTED
-    end
+        INSPECTED
+      end
 
-    def test_name
-      @expression.append_operation("plus", 2)
-      assert_equal(<<-INSPECTED.chomp, @expression.inspect)
+      def test_name
+        @expression.append_operation("plus", 2)
+        assert_equal(<<-INSPECTED.chomp, @expression.inspect)
 #<Groonga::Expression
   vars:{
   },
@@ -261,8 +261,8 @@ class ExpressionTest < Test::Unit::TestCase
     1:<push n_args:1, flags:0, modify:0, value:92>,
     2:<plus n_args:2, flags:0, modify:0, value:(NULL)>
   }>
-      INSPECTED
-    end
+        INSPECTED
+      end
     end
   end
 
-------------- next part --------------
HTML����������������������������...
Download 



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