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

ruby-changes:36640

From: usa <ko1@a...>
Date: Sat, 6 Dec 2014 04:48:24 +0900 (JST)
Subject: [ruby-changes:36640] usa:r48721 (trunk): * test/test_pp.rb (PPTestModule::PPFileStatTest): test for r48719.

usa	2014-12-06 04:48:15 +0900 (Sat, 06 Dec 2014)

  New Revision: 48721

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

  Log:
    * test/test_pp.rb (PPTestModule::PPFileStatTest): test for r48719.
      is this the right place here?

  Modified files:
    trunk/test/test_pp.rb
Index: test/test_pp.rb
===================================================================
--- test/test_pp.rb	(revision 48720)
+++ test/test_pp.rb	(revision 48721)
@@ -184,4 +184,12 @@ class PPDelegateTest < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/test_pp.rb#L184
   end
 end
 
+class PPFileStatTest < Test::Unit::TestCase
+  def test_nothing_raised
+    assert_nothing_raised do
+      File.stat(__FILE__).pretty_inspect
+    end
+  end
+end
+
 end

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

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