diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-27 19:37:33 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-27 19:37:33 +0000 |
commit | b592a740fcb178a4de545081a9faffbd8f137e4d (patch) | |
tree | 7c6f68cee121cccb8c8f5a1a75bd091ea20631d0 /test/test_curses.rb | |
parent | f1312bc0388b0603f208cef82d8ced4f669eb540 (diff) |
Show TERM environment variable on failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_curses.rb')
-rw-r--r-- | test/test_curses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_curses.rb b/test/test_curses.rb index d43c852f2f..00a099cee3 100644 --- a/test/test_curses.rb +++ b/test/test_curses.rb @@ -37,7 +37,7 @@ src wait = r.readpartial(1) if wait != "!" wait << r.readpartial(1000) - raise wait + raise "TERM: '#{ENV["TERM"]}'; #{wait}" end if input w.print(input) |