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

ruby-changes:30154

From: naruse <ko1@a...>
Date: Sun, 28 Jul 2013 04:37:47 +0900 (JST)
Subject: [ruby-changes:30154] naruse:r42206 (trunk): Show TERM environment variable on failure

naruse	2013-07-28 04:37:33 +0900 (Sun, 28 Jul 2013)

  New Revision: 42206

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

  Log:
    Show TERM environment variable on failure

  Modified files:
    trunk/test/test_curses.rb

Index: test/test_curses.rb
===================================================================
--- test/test_curses.rb	(revision 42205)
+++ test/test_curses.rb	(revision 42206)
@@ -37,7 +37,7 @@ src https://github.com/ruby/ruby/blob/trunk/test/test_curses.rb#L37
       wait = r.readpartial(1)
       if wait != "!"
         wait << r.readpartial(1000)
-        raise wait
+        raise "TERM: '#{ENV["TERM"]}'; #{wait}"
       end
       if input
         w.print(input)

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

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