[Groonga-commit] ranguba/rroonga at e6b63d0 [master] test: don't use assert_nothing_raised

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Tue Dec 30 15:42:49 JST 2014


Kouhei Sutou	2014-12-30 15:42:49 +0900 (Tue, 30 Dec 2014)

  New Revision: e6b63d0295d98e4713451ef31fba30201e3f0e4e
  https://github.com/ranguba/rroonga/commit/e6b63d0295d98e4713451ef31fba30201e3f0e4e

  Message:
    test: don't use assert_nothing_raised
    
    It's meaningless.

  Modified files:
    test/test-column.rb

  Modified: test/test-column.rb (+1 -3)
===================================================================
--- test/test-column.rb    2014-12-30 14:49:52 +0900 (dcb7db2)
+++ test/test-column.rb    2014-12-30 15:42:49 +0900 (25119ee)
@@ -531,9 +531,7 @@ class ColumnTest < Test::Unit::TestCase
       assert_equal(article, post2["article"])
 
       @posts = context["Posts"]
-      assert_nothing_raised do
-        @posts.column("article").truncate
-      end
+      @posts.column("article").truncate
 
       assert_nil(post1["article"])
       assert_nil(post2["article"])
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index