From 57b87a00f8027d230d845e0dbd08432d9aa1aae6 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 11 Jan 2015 15:58:40 +0000 Subject: [DOC] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/io/console/test_io_console.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/io/console') diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index a44e5ffff9..c69eec757e 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -68,6 +68,14 @@ class TestIO_Console < Test::Unit::TestCase } end + def test_raw! + helper {|m, s| + s.raw! + s.print "foo\n" + assert_equal("foo\n", m.gets) + } + end + def test_cooked helper {|m, s| assert_send([s, :echo?]) -- cgit v1.2.3