[Groonga-commit] groonga/grntest [master] Extract process for omit

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 21 11:51:11 JST 2012


Kouhei Sutou	2012-11-21 11:51:11 +0900 (Wed, 21 Nov 2012)

  New Revision: 5be1dd30acd7c1e10ea2efe8355efaf062d337a5
  https://github.com/groonga/grntest/commit/5be1dd30acd7c1e10ea2efe8355efaf062d337a5

  Log:
    Extract process for omit

  Modified files:
    lib/grntest/tester.rb

  Modified: lib/grntest/tester.rb (+6 -2)
===================================================================
--- lib/grntest/tester.rb    2012-11-21 11:50:12 +0900 (06c6f30)
+++ lib/grntest/tester.rb    2012-11-21 11:51:11 +0900 (f9d51e7)
@@ -1237,10 +1237,14 @@ EOF
         def error
           case @on_error
           when :omit
-            @omitted = true
-            throw @abort_tag
+            omit
           end
         end
+
+        def omit
+          @omitted = true
+          throw @abort_tag
+        end
       end
 
       module ReturnCode
-------------- next part --------------
HTML����������������������������...
다운로드 



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