ruby/test
normal 6afea14043 ext/cgi/escape: preserve String subclass in result
* ext/cgi/escape/escape.c (optimized_escape_html): use rb_str_new_with_class
  (optimized_unescape_html): ditto
  (optimized_escape): ditto
  (optimized_unescape): ditto
* test/cgi/test_cgi_util.rb (test_escape_string_subclass): new test
  [ruby-core:86847] [Bug #14732]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-02 23:18:55 +00:00
..
-ext- test_bug_reporter.rb: make it work with --jit 2018-04-28 09:02:56 +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 `$SAFE` as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
cgi ext/cgi/escape: preserve String subclass in result 2018-05-02 23:18:55 +00:00
coverage test/coverage/test_coverage.rb: make the expected value the same as 2.4 2017-12-20 04:45:05 +00:00
csv test/csv/test_features.rb: enable accidentally-disabled assertions 2018-04-17 07:03:44 +00:00
date test/date/test_date_base.rb: removed 2018-04-17 08:18:56 +00:00
dbm skip some tests so that no failure occurs in root privilege 2018-01-10 10:39:09 +00:00
digest Fix tests which fail with extra stderr output when a Thread dies 2017-12-12 18:44:21 +00:00
drb drb: use \A and \z 2017-12-30 12:10:43 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb Rename test classes to allow stable test count when running test-all -j 2018-03-13 06:29:02 +00:00
etc test_etc.rb: fix test_getgrnam for duplicated group names 2017-09-29 17:19:37 +00:00
excludes TestException.rb: suppress warning 2016-04-11 08:27:19 +00:00
fiddle fiddle/test_import.rb: fix warnings by rubygems 2018-04-19 23:46:55 +00:00
fileutils Add FileUtils#cp_lr 2018-03-13 08:18:03 +00:00
gdbm Use assert(false) for the path that is expected unreachable 2018-04-17 08:18:57 +00:00
io test/io/console/test_io_console.rb (test_oflush): Avoid race condition 2018-02-15 05:34:20 +00:00
irb irb.rb: restore the last error 2018-04-14 13:05:52 +00:00
json require 'bigdecimal' 2017-06-16 04:04:53 +00:00
lib test_open3.rb: let test_popen2 work with --jit 2018-04-28 09:22:07 +00:00
logger Remove unused variables 2018-03-17 06:41:35 +00:00
matrix lib/matrix: Add hadamard_product/entrywise_product. 2017-11-20 02:18:43 +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 a C source code must end with EOL 2018-02-17 10:04:22 +00:00
monitor Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
net io.c: workaround for EPROTOTYPE 2018-04-30 02:17:03 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
open-uri open-uri defines URI.open defined as an alias. 2017-12-21 14:15:04 +00:00
openssl openssl: suppress report_on_exception warning 2017-12-15 08:19:32 +00:00
optparse optparse.rb: froze string literals 2018-01-26 03:41:04 +00:00
ostruct lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`. 2018-02-06 23:52:30 +00:00
pathname skip some tests so that no failure occurs in root privilege 2018-01-10 10:39:09 +00:00
psych Merge Pysch 3.0.3.pre1. 2018-04-28 01:47:58 +00:00
rdoc Fix test error 2018-03-26 10:18:46 +00:00
readline `$SAFE` as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
resolv use the reference as failure messages 2018-03-06 05:59:29 +00:00
rexml rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by default 2018-04-28 01:36:18 +00:00
rinda Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
ripper test/ripper/test_lexer.rb: add test for r62743 2018-03-13 13:03:12 +00:00
rss rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by default 2018-04-28 01:36:18 +00:00
ruby test_jit.rb: test local variables 2018-05-02 16:27:33 +00:00
rubygems Remove unnecessary `[]`s 2018-02-17 14:03:52 +00:00
scanf Fix bug about String#scanf("%a") 2017-10-21 12:34:13 +00:00
sdbm skip some tests so that no failure occurs in root privilege 2018-01-10 10:39:09 +00:00
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket unixsocket.c: check NUL bytes 2018-03-28 10:08:57 +00:00
stringio Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
strscan strscan.c: add MatchData-like methods 2017-11-29 07:57:48 +00:00
syslog Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
testunit test_parallel.rb: extend timeout for --jit-wait 2018-04-28 08:41:19 +00:00
thread test/thread/test_cv.rb: test CV usability inside forked child 2018-04-30 23:53:55 +00:00
uri set UTF-8 if given URI string is ASCII 2018-03-22 11:20:03 +00:00
webrick io.c: workaround for EPROTOTYPE 2018-04-30 02:17:03 +00:00
win32ole Rename test classes to allow stable test count when running test-all -j 2018-03-13 06:29:02 +00:00
yaml lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
zlib test/zlib/test_zlib.rb (test_path): enable the accidentally-disabled assertion 2018-04-17 06:38:08 +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 Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +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 Fix indent and use as skipped message instead of comment 2018-01-11 13:56:04 +00:00
test_forwardable.rb Add test for Forwardable#def_delegator with r55366. 2018-02-01 09:07:16 +00:00
test_ipaddr.rb Import ipaddr 1.2.0 2017-10-21 13:34:19 +00:00
test_mutex_m.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
test_open3.rb test_open3.rb: let test_popen2 work with --jit 2018-04-28 09:22:07 +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 Use `\A` and `\z` instead of `^` and `$` 2017-10-22 09:16:54 +00:00
test_set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +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 * test/test_tempfile.rb (test_{new,create}_traversal_dir): should not assume `t` 2018-04-04 15:44:56 +00:00
test_time.rb Make Time.parse respect timezone offset seconds 2017-10-20 01:03:18 +00:00
test_timeout.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_tmpdir.rb Ignore file separator from tmpfile/tmpdir name. 2018-03-28 10:03:03 +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