[Groonga-commit] ranguba/rroonga at 3731f08 [master] Test for assigning column value by Int32 after String

Back to archive index

Daisuke Goto null+****@clear*****
Sat Oct 18 01:06:11 JST 2014


Daisuke Goto	2014-10-18 01:06:11 +0900 (Sat, 18 Oct 2014)

  New Revision: 3731f080ce47c73e082c2cc1ccdb439e655c26bb
  https://github.com/ranguba/rroonga/commit/3731f080ce47c73e082c2cc1ccdb439e655c26bb

  Merged b41b729: Merge pull request #27 from rutice/fix-assign-column2

  Message:
    Test for assigning column value by Int32 after String

  Modified files:
    test/test-fix-size-column.rb

  Modified: test/test-fix-size-column.rb (+7 -0)
===================================================================
--- test/test-fix-size-column.rb    2014-10-18 01:05:37 +0900 (3cde637)
+++ test/test-fix-size-column.rb    2014-10-18 01:06:11 +0900 (4908727)
@@ -64,6 +64,13 @@ class FixSizeColumnTest < Test::Unit::TestCase
     assert_equal(@bookmarks, @viewed.table)
   end
 
+  def test_assign_int_after_string
+      assert_nothing_raised do
+          @bookmarks.add(:viewed => "100")
+          @bookmarks.add(:viewed => 100)
+      end
+  end
+
   class TimeTest < self
     class IntegerTest < self
       def test_assign
-------------- next part --------------
HTML����������������������������...
Download 



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