[Groonga-commit] ranguba/rroonga at 1a8f732 [master] Revert "test: group"

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 8 18:41:19 JST 2015


Kouhei Sutou	2015-09-08 18:41:19 +0900 (Tue, 08 Sep 2015)

  New Revision: 1a8f732577b855ea7105ed550d59e9d013150505
  https://github.com/ranguba/rroonga/commit/1a8f732577b855ea7105ed550d59e9d013150505

  Message:
    Revert "test: group"
    
    This reverts commit d13603f31397f0f96a603bcc63d055a1fd5ba742.
    
    It's needless grouping.

  Modified files:
    test/test-logger.rb

  Modified: test/test-logger.rb (+4 -6)
===================================================================
--- test/test-logger.rb    2015-09-08 18:35:12 +0900 (326cb3c)
+++ test/test-logger.rb    2015-09-08 18:41:19 +0900 (7fa0c07)
@@ -37,12 +37,10 @@ class LoggerTest < Test::Unit::TestCase
     assert_true(@log_path.exist?)
   end
 
-  sub_test_case ".max_level" do
-    test "default" do
-      assert_equal(:notice, Groonga::Logger.max_level)
-      Groonga::Logger.max_level = :debug
-      assert_equal(:debug, Groonga::Logger.max_level)
-    end
+  def test_max_level
+    assert_equal(:notice, Groonga::Logger.max_level)
+    Groonga::Logger.max_level = :debug
+    assert_equal(:debug, Groonga::Logger.max_level)
   end
 
   sub_test_case ".log" do
-------------- next part --------------
HTML����������������������������...
Download 



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