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

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 21 12:45:18 JST 2012


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

  New Revision: 1ac8ce3317cc3e9518fb6eddec3635af89b8aa74
  https://github.com/groonga/grntest/commit/1ac8ce3317cc3e9518fb6eddec3635af89b8aa74

  Log:
    Use "failure" instead of "failed" for event type
    
    on_test_failed ->
    on_test_failure

  Modified files:
    lib/grntest/tester.rb

  Modified: lib/grntest/tester.rb (+2 -2)
===================================================================
--- lib/grntest/tester.rb    2012-11-21 12:44:51 +0900 (f7d5708)
+++ lib/grntest/tester.rb    2012-11-21 12:45:18 +0900 (86e4da6)
@@ -431,7 +431,7 @@ module Grntest
         @n_passed_tests += 1
       end
 
-      def on_test_failed(name)
+      def on_test_failure(name)
         @failed_tests << name
       end
 
@@ -518,7 +518,7 @@ module Grntest
 
       def on_test_failure(result)
         @status = "failed"
-        @result.on_test_failed(test_name)
+        @result.on_test_failure(test_name)
         @reporter.on_test_failure(self, result)
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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