1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
normal edea151a4b IO#readpartial rejects bad args
Sometimes a sleepy developer will want to swap read_nonblock
for readpartial forget to remove "exception: false"

* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args): new
  [Bug #11885]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-27 06:15:06 +00:00
..
-ext- vm_backtrace.c: ignore ifunc frames 2015-12-21 01:18:48 +00:00
base64 Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
benchmark Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
bigdecimal Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cgi escape.c: should not freeze 2015-12-22 05:31:31 +00:00
coverage Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
csv Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
date Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
digest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
drb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dtrace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
erb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
etc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
excludes Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
fileutils Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
gdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
io Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
irb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
json Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
lib assertions.rb: show failed indexes 2015-12-20 01:43:45 +00:00
logger Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
matrix Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
minitest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
misc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mkmf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
monitor Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
net fix common misspelling [ci skip] 2015-12-24 23:23:46 +00:00
nkf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
objspace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
open-uri test: use String#b instead of dup.force_encoding 2015-12-14 06:40:55 +00:00
openssl fix common misspelling [ci skip] 2015-12-24 23:23:46 +00:00
optparse Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ostruct Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
pathname * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
psych Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rdoc test_rdoc_generator_json_index.rb: open in binmode 2015-12-22 16:41:34 +00:00
readline Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
resolv Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rexml fix common misspelling [ci skip] 2015-12-24 23:23:46 +00:00
rinda Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ripper Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rss Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ruby IO#readpartial rejects bad args 2015-12-27 06:15:06 +00:00
rubygems Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
scanf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
sdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
shell Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
socket ignore exception is the address is IPv6 2015-12-24 17:53:11 +00:00
stringio stringio.c: separate encoding from buffer 2015-12-18 07:54:33 +00:00
strscan Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
syslog Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
testunit Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
thread Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
uri Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
webrick fix common misspelling [ci skip] 2015-12-24 23:23:46 +00:00
win32ole Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlrpc * lib/xmlrpc/client.rb: Support SSL options in async methods of 2015-12-26 09:33:43 +00:00
zlib Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
colors default colors 2015-05-17 00:50:11 +00:00
runner.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_abbrev.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_cmath.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_delegate.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_find.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_forwardable.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_ipaddr.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mathn.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mutex_m.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_observer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_open3.rb * lib/open3.rb: Specify frozen_string_literal: true. 2015-11-14 07:43:23 +00:00
test_pp.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prettyprint.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prime.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pstore.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pty.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_rbconfig.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_securerandom.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_set.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_shellwords.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_singleton.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_syslog.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tempfile.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_time.rb * lib/time.rb: Specify frozen_string_literal: true. 2015-11-14 08:00:29 +00:00
test_timeout.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tmpdir.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tracer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tsort.rb test/test_tsort.rb: Specify frozen_string_literal: true. 2015-11-14 09:43:18 +00:00
test_unicode_normalize.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_weakref.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_win32api.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00