blob: 710331427a9d5006eb132007cbf0657d2decb312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
assert_equal 'ok', %q{
begin
r, w = IO.pipe
w.close
# assert_raise(IOError, "[ruby-dev:31650]") { 20000.times { r.ungetc "a" } }
20000.times { r.ungetc "a" }
rescue IOError
:ok
ensure
r.close
end
}, 'rename test/ruby/test_io.rb#_test_ungetc if fixed'
assert_equal 'ok', %q{
class C
undef display
remove_method :display
end
:ok
}, '[ruby-dev:31816]'
|