[Groonga-commit] groonga/grntest [master] Use "failure" instead of "fail" for event type

Back to archive index

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


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

  New Revision: 107a917a1da260dd51b840feac09bbd13384b59b
  https://github.com/groonga/grntest/commit/107a917a1da260dd51b840feac09bbd13384b59b

  Log:
    Use "failure" instead of "fail" for event type
    
    on_test_fail ->
    on_test_failure

  Modified files:
    lib/grntest/tester.rb

  Modified: lib/grntest/tester.rb (+2 -2)
===================================================================
--- lib/grntest/tester.rb    2012-11-21 12:38:40 +0900 (6c69c5e)
+++ lib/grntest/tester.rb    2012-11-21 12:39:11 +0900 (8ec3685)
@@ -516,7 +516,7 @@ module Grntest
         @reporter.on_test_success(self, result)
       end
 
-      def on_test_fail(result)
+      def on_test_failure(result)
         @status = "failed"
         @result.test_failed(test_name)
         @reporter.on_test_failure(self, result)
@@ -779,7 +779,7 @@ module Grntest
           @worker.on_test_success(result)
           remove_reject_file
         when :failure
-          @worker.on_test_fail(result)
+          @worker.on_test_failure(result)
           output_reject_file(result.actual)
           succeeded = false
         when :leaked
-------------- next part --------------
HTML����������������������������...
下载 



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