[Groonga-commit] groonga/grntest [master] Use more meaningful name

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2012年 8月 8日 (水) 15:14:37 JST


Kouhei Sutou	2012-08-08 15:14:37 +0900 (Wed, 08 Aug 2012)

  New Revision: 7de4fc229f15cb72e3f71a5f67e0baad44c4c956
  https://github.com/groonga/grntest/commit/7de4fc229f15cb72e3f71a5f67e0baad44c4c956

  Log:
    Use more meaningful name

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -2)
===================================================================
--- lib/groonga/tester.rb    2012-08-06 23:23:04 +0900 (3eb7e49)
+++ lib/groonga/tester.rb    2012-08-08 15:14:37 +0900 (5488bbc)
@@ -285,9 +285,9 @@ module Groonga
         test_name = @test_script_path.basename.to_s
         result = TestResult.new(test_name)
         reporter.start_test(test_name)
-        timer = Time.now
+        started_time = Time.now
         result.actual = run_groonga_script
-        result.elapsed_time = Time.now - timer
+        result.elapsed_time = Time.now - started_time
         result.actual = normalize_result(result.actual)
         result.expected = read_expected_result
         if result.expected
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index