[Groonga-commit] ranguba/rroonga at 5b2a14f [master] test: remove duplicated tests

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 16 18:14:19 JST 2016


Kouhei Sutou	2016-05-16 18:14:19 +0900 (Mon, 16 May 2016)

  New Revision: 5b2a14f4a294e3a54d02e1899a9aadb3c7e165a8
  https://github.com/ranguba/rroonga/commit/5b2a14f4a294e3a54d02e1899a9aadb3c7e165a8

  Message:
    test: remove duplicated tests

  Modified files:
    test/test-type.rb

  Modified: test/test-type.rb (+3 -7)
===================================================================
--- test/test-type.rb    2016-05-16 16:55:33 +0900 (ba287d7)
+++ test/test-type.rb    2016-05-16 18:14:19 +0900 (89c3899)
@@ -59,12 +59,6 @@ class TypeTest < Test::Unit::TestCase
     assert_false(Groonga["Int32"].variable_size?)
   end
 
-  def test_builtin?
-    assert do
-      Groonga["Int32"].builtin?
-    end
-  end
-
   def test_unsigned_integer?
     assert_true(Groonga["UInt32"].unsigned_integer?)
   end
@@ -231,7 +225,9 @@ class TypeTest < Test::Unit::TestCase
        "builtin - Time" => "Time")
   def test_builtin?(name)
     type = Groonga[name]
-    assert_predicate(type, :builtin?)
+    assert do
+      type.builtin?
+    end
   end
 
   private
-------------- next part --------------
HTML����������������������������...
Download 



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