ruby/test
nobu b2da3824c5 refinements in string interpolation
* compile.c (iseq_compile_each0): insert to_s method call, so that
  refinements activated at the caller should take place.
  [Feature #13812]

* insns.def (tostring): fix up converted object to a string,
  infect and fallback.

* insns.def (branchiftype): new instruction for conversion.
  branches if TOS is an instance of the given type.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-18 02:27:13 +00:00
..
-ext- sprintf.c: NULL as str 2017-09-09 09:16:59 +00:00
base64 lib/base64.rb: Specify frozen_string_literal: true. 2017-02-10 00:58:45 +00:00
benchmark lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
bigdecimal ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
cgi Fix strange indentation 2017-05-18 15:13:30 +00:00
coverage Introduce NODE_UNLESS for branch coverage 2017-09-14 05:27:02 +00:00
csv Fixed regression to convert blank value at r45497. 2017-08-22 06:57:00 +00:00
date ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
dbm {ext,test}/dbm: Specify frozen_string_literal: true. 2017-01-28 04:36:08 +00:00
digest test/digest/test_digest.rb: fold long lines 2016-10-27 06:26:09 +00:00
drb use dedicated assertions 2017-04-07 13:26:12 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb test/erb/test_erb.rb: Fix unused variable warning 2017-05-29 10:22:47 +00:00
etc {ext,test}/etc: Specify frozen_string_literal: true. 2017-01-29 01:35:23 +00:00
excludes TestException.rb: suppress warning 2016-04-11 08:27:19 +00:00
fiddle Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
fileutils test_fileutils.rb: rmdir should fail on nonexistent directory 2017-09-16 22:40:09 +00:00
gdbm Import gemspec and test file changes from ruby/gdbm. 2017-04-25 07:55:56 +00:00
io console.c: set winsize on Windows 2017-09-11 20:10:34 +00:00
irb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
json require 'bigdecimal' 2017-06-16 04:04:53 +00:00
lib assertions.rb: AllFailures#message encoding 2017-08-01 11:59:45 +00:00
logger logger.rb: Fix handling progname 2017-07-20 16:47:26 +00:00
matrix * lib/matrix.rb: Add Vector.zero and Vector#zero? 2017-03-14 20:09:30 +00:00
minitest test_minitest_unit.rb: assert_triggered 2017-03-29 09:47:40 +00:00
misc test_ruby_mode.rb: fix for Emacs 25.1 2016-09-24 01:19:43 +00:00
mkmf test_framework.rb: for case-sensitive filesystem 2017-04-21 06:12:27 +00:00
monitor Use qualified names 2016-08-30 06:22:30 +00:00
net include query parameters in Net::HTTP.post 2017-09-15 16:53:55 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace ext/objspace/objspace.c: remove unneeded code clones. 2017-09-17 23:56:37 +00:00
open-uri revert r57323 2017-01-14 09:38:56 +00:00
openssl openssl: merge test fixes from upstream, part 2 2017-09-12 13:52:51 +00:00
optparse optparse.rb: case-sensitive candidate 2017-07-24 01:56:04 +00:00
ostruct ostruct.rb: refine visibility failure message 2017-03-28 09:21:58 +00:00
pathname pathname.rb: UNC root pathname needs a separator 2017-06-16 14:44:01 +00:00
psych Merge psych-3.0.0.beta3 from ruby/psych. 2017-07-14 06:15:58 +00:00
rdoc Removed needless magic-comment for encodings. 2017-09-13 09:06:34 +00:00
readline suppress warning: assigned but unused variable - line 2017-08-15 21:36:16 +00:00
resolv Made #decode_rdata client to catch errors 2017-01-14 02:26:48 +00:00
rexml REXML: Fix a bug that unexpected methods can be called as a XPath function 2017-08-13 12:14:24 +00:00
rinda Stop a global server of Rinda test 2017-03-14 15:14:21 +00:00
ripper ripper: add states of scanner 2017-09-14 10:53:47 +00:00
rss rss: Accept empty text element as valid element 2017-05-03 12:25:17 +00:00
ruby refinements in string interpolation 2017-09-18 02:27:13 +00:00
rubygems Backport test_realworld_default_gem test from Rubygems-2.6.13. 2017-09-11 09:44:29 +00:00
scanf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
sdbm update comments. 2016-05-01 12:50:19 +00:00
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket test/socket/test_basicsocket.rb (socks): bind explicitly to localhost 2017-05-15 07:33:10 +00:00
stringio stringio.c: encoding at empty chomped result 2017-08-13 07:31:49 +00:00
strscan strscan.c: fix segfault in aref 2017-07-21 13:30:46 +00:00
syslog Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
testunit test_parallel.rb: match the count 2017-02-07 08:09:23 +00:00
thread test/thread: relax internal implementation check in error message 2017-05-09 19:52:10 +00:00
uri uri/generic.rb: fix exception on non-IP format 2017-01-17 12:54:35 +00:00
webrick lib/webrick/log.rb: sanitize any type of logs 2017-09-14 11:16:23 +00:00
win32ole test/win32ole/test_word.rb: word quit without confirmation dialog to save 2017-09-13 13:24:59 +00:00
yaml lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
zlib Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file [Bug #13616] 2017-07-14 09:17:55 +00:00
colors default colors 2015-05-17 00:50:11 +00:00
runner.rb the working directory may not be srcdir 2017-09-07 17:45:34 +00:00
test_abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
test_cmath.rb lib/cmath.rb: Specify frozen_string_literal: true. 2017-01-04 05:47:52 +00:00
test_delegate.rb Delegate to `eql?` [Fix GH-1564] 2017-06-24 03:35:29 +00:00
test_extlibs.rb Revert "test/test_extilibs.rb: do not check the existence of fiddle" 2017-05-16 23:59:01 +00:00
test_find.rb lib/find.rb: Specify frozen_string_literal: true. 2017-02-13 12:16:26 +00:00
test_forwardable.rb * test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840] 2016-10-31 08:43:54 +00:00
test_ipaddr.rb IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails 2016-11-05 13:53:38 +00:00
test_mutex_m.rb Use qualified names 2016-08-30 06:22:30 +00:00
test_observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +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 prime.rb: remove alias after timeout test 2017-05-20 10:21:44 +00:00
test_pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +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 Update a test of SecureRandom according to r57384 2017-09-09 15:12:10 +00:00
test_set.rb Alias Set#to_s to #inspect [ruby-core:81753] [Feature #13676] 2017-07-14 08:46:13 +00:00
test_shellwords.rb Fix the handling of the backslash in double quotes 2016-11-05 04:58:48 +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 Of course, opened file is not able to unlink on Windows 2017-05-19 12:44:46 +00:00
test_time.rb Time.parse's "now" argument as nil works again. 2016-11-05 14:03:34 +00:00
test_timeout.rb Use our domain instead of other's domain 2016-09-07 12:32:04 +00:00
test_tmpdir.rb test/test_tmpdir.rb: Specify frozen_string_literal: true. 2017-01-23 15:47:32 +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 * test/ruby/enc/test_case_comprehensive.rb, test_regex_casefold.rb, 2016-07-03 09:51:46 +00:00
test_weakref.rb lib/weakref.rb: Specify frozen_string_literal: true. 2017-01-26 15:14:00 +00:00
test_win32api.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00