summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-27 19:37:33 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-27 19:37:33 +0000
commitb592a740fcb178a4de545081a9faffbd8f137e4d (patch)
tree7c6f68cee121cccb8c8f5a1a75bd091ea20631d0 /test
parentf1312bc0388b0603f208cef82d8ced4f669eb540 (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')
-rw-r--r--test/test_curses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_curses.rb b/test/test_curses.rb
index d43c852f2f9..00a099cee3c 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)