[前][次][番号順一覧][スレッド一覧]

ruby-changes:39652

From: ko1 <ko1@a...>
Date: Tue, 1 Sep 2015 18:37:59 +0900 (JST)
Subject: [ruby-changes:39652] ko1:r51733 (trunk): * test/thread/test_queue.rb: catch up last commit.

ko1	2015-09-01 18:37:33 +0900 (Tue, 01 Sep 2015)

  New Revision: 51733

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51733

  Log:
    * test/thread/test_queue.rb: catch up last commit.

  Modified files:
    trunk/ChangeLog
    trunk/test/thread/test_queue.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51732)
+++ ChangeLog	(revision 51733)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Sep  1 18:37:15 2015  Koichi Sasada  <ko1@a...>
+
+	* test/thread/test_queue.rb: catch up last commit.
+
 Tue Sep  1 18:16:32 2015  Koichi Sasada  <ko1@a...>
 
 	* thread_sync.c (queue_do_close): ignore multiple close to allow
Index: test/thread/test_queue.rb
===================================================================
--- test/thread/test_queue.rb	(revision 51732)
+++ test/thread/test_queue.rb	(revision 51733)
@@ -509,11 +509,11 @@ class TestQueue < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/thread/test_queue.rb#L509
     [->{Queue.new}, ->{SizedQueue.new 3}].each do |qcreate|
       q = qcreate[]
       q.close
-      assert_raise(ClosedQueueError){q.close}
+      assert_nothing_raised(ClosedQueueError){q.close}
 
       q = qcreate[]
       q.close(true)
-      assert_raise(ClosedQueueError){q.close(false)}
+      assert_nothing_raised(ClosedQueueError){q.close(false)}
     end
   end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]