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

ruby-changes:60246

From: Koichi <ko1@a...>
Date: Mon, 2 Mar 2020 11:44:19 +0900 (JST)
Subject: [ruby-changes:60246] 0bfee2397b (master): show debug info.

https://git.ruby-lang.org/ruby.git/commit/?id=0bfee2397b

From 0bfee2397ba59112902d2b49f08461db3a637b46 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Mon, 2 Mar 2020 11:43:17 +0900
Subject: show debug info.

https://gist.github.com/ko1/a71f7cbcfbd61ba004bffdfedab9f5f2#file-brlog-trunk-random0-20200302-020213-L2127

diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index a6df5c8..7337ed6 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3303,7 +3303,7 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3303
     assert_equal(0, STDIN.fileno)
     assert_equal(1, STDOUT.fileno)
     assert_equal(2, STDERR.fileno)
-    assert_equal(0, $stdin.fileno)
+    assert_equal(0, $stdin.fileno, "#fileno on #{$stdin.class}")
     assert_equal(1, $stdout.fileno)
     assert_equal(2, $stderr.fileno)
   end
-- 
cgit v0.10.2


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

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