1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
nobu 593505ac6f string.c: respect the actual encoding
* string.c (rb_enc_str_coderange): respect the actual encoding of
  if a BOM presents, and scan for the actual code range.
  [ruby-core:91662] [Bug #15635]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-05 00:32:15 +00:00
..
enc add a test to make sure some unassigned codepoints do not get converted 2018-12-10 23:12:12 +00:00
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb marshaltestlib.rb: use clean object for exception 2018-04-12 03:40:16 +00:00
sentence.rb
test_alias.rb
test_argf.rb Fix error when Encoding.default_external is Encoding::IBM437 2018-08-09 09:36:03 +00:00
test_arithmetic_sequence.rb enumerator.c: fix arith_seq_first for Infinity 2019-01-30 06:05:57 +00:00
test_arity.rb
test_array.rb Mark array as "going to be modified" in Array#reject! 2019-01-08 19:22:05 +00:00
test_assignment.rb Enable the assertions that had been disabled for historical reason 2018-04-17 08:26:20 +00:00
test_ast.rb ast.c: fix missing head part in dynamic literal 2019-01-14 10:16:54 +00:00
test_autoload.rb test_array.rb: increase timeout for RubyCI 2018-12-28 14:05:45 +00:00
test_backtrace.rb Revert "Add test for cause on pty" 2018-10-28 17:03:36 +00:00
test_basicinstructions.rb Remove the old disabled assertions for 1.8/1.9 2018-04-17 08:47:56 +00:00
test_beginendblock.rb
test_bignum.rb use Queue for inter-thread synchronization. 2018-04-04 05:00:52 +00:00
test_call.rb
test_case.rb
test_class.rb Use assert_syntax_error 2019-02-08 02:54:21 +00:00
test_clone.rb Don't copy FL_USER* on Kernel#clone. [Bug #14847] 2018-07-09 08:07:26 +00:00
test_comparable.rb
test_complex.rb No TypeError at nil if exception: false 2019-01-12 05:02:58 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb Give up support for cross-callcc set_trace_func. 2018-11-26 19:59:08 +00:00
test_default_gems.rb Fixed wrong variable name. 2018-06-02 13:55:54 +00:00
test_defined.rb
test_dir.rb do not close FSs explicitly. 2019-03-03 06:18:43 +00:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb enum.c: Enumerable#tally 2019-02-07 08:14:10 +00:00
test_enumerator.rb enumerator.c: fix inspect with the last empty hash 2018-12-24 00:48:15 +00:00
test_env.rb Removed Windows version condition 2018-10-01 07:50:08 +00:00
test_eval.rb Remove the old disabled assertions for 1.8/1.9 2018-04-17 08:47:56 +00:00
test_exception.rb Defer escaping control char in error messages 2019-01-08 09:08:31 +00:00
test_fiber.rb Don't allow rb_fiber_resume to raise exception on unborn fiber. 2018-12-28 13:03:14 +00:00
test_file.rb CentOS-7 (1810)'s header has O_TMPFILE but kernel doesn't support it 2018-12-11 08:44:00 +00:00
test_file_exhaustive.rb Skip EPERM, when statx(2) is wholely blocked 2019-02-22 06:35:44 +00:00
test_fixnum.rb
test_flip.rb Remove warnings of flip-flop deprecation from tests and specs 2018-06-15 08:53:16 +00:00
test_float.rb object.c: raise on long invalid float string 2018-05-04 06:12:12 +00:00
test_fnmatch.rb Split test_fnmatch 2018-12-17 05:57:15 +00:00
test_gc.rb test_gc.rb: increase timeout for RubyCI 2018-12-29 06:49:54 +00:00
test_hash.rb Adjust reserved hash values 2018-12-07 12:03:16 +00:00
test_ifunless.rb
test_integer.rb No FloatDomainError at non-finitive number if exception: false 2019-01-12 09:36:52 +00:00
test_integer_comb.rb
test_io.rb test_io.rb: skip test on MJIT to prevent random failure 2019-01-21 01:11:57 +00:00
test_io_m17n.rb
test_iseq.rb test_iseq.rb: update expected error message 2019-01-31 04:35:14 +00:00
test_iterator.rb Prefer block_given? to iterator? 2019-01-18 09:52:50 +00:00
test_jit.rb test_jit.rb: change format of test error output 2019-01-10 14:55:24 +00:00
test_key_error.rb
test_keyword.rb parse.y: fix block passing with empty kwargs 2018-09-20 01:43:35 +00:00
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb fix a test by restoring value checking. 2018-12-25 07:21:45 +00:00
test_m17n.rb string.c: respect the actual encoding 2019-03-05 00:32:15 +00:00
test_m17n_comb.rb
test_marshal.rb
test_math.rb math.c: adjust cbrt 2018-06-06 14:01:43 +00:00
test_metaclass.rb
test_method.rb test/ruby/test_method.rb: Remove unreachable call 2019-01-10 12:41:06 +00:00
test_mixed_unicode_escapes.rb
test_module.rb Fix Module#const_defined? on inherited constants 2019-01-28 13:32:32 +00:00
test_not.rb
test_notimp.rb test_notimp.rb: loosen timeout 2018-12-29 04:48:23 +00:00
test_numeric.rb numeric.c: Fix negative step with float components 2019-01-24 05:30:42 +00:00
test_object.rb class.c: refactor class_instance_method_list 2019-01-09 14:04:21 +00:00
test_objectspace.rb
test_optimization.rb test_optimization.rb: increase timeout for RubyCI 2018-12-30 06:09:38 +00:00
test_pack.rb pack.c: refine warning 2018-11-16 00:25:54 +00:00
test_parse.rb parse.y: remove an extra error message 2019-01-24 11:43:11 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb proc.c: proc without block 2019-01-10 08:19:14 +00:00
test_process.rb test/ruby/test_process.rb (test_execopts_uid): rescue Errno::EACCES 2018-12-26 05:31:22 +00:00
test_rand.rb random.c: endless range random 2018-08-03 06:31:22 +00:00
test_range.rb numeric.c: Fix negative step with float components 2019-01-24 05:30:42 +00:00
test_rational.rb No TypeError at nil if exception: false 2019-01-12 05:02:58 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb added assertion with method ref operator 2019-01-28 11:53:54 +00:00
test_regexp.rb Suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator 2019-01-15 03:43:44 +00:00
test_require.rb load.c: resolve_feature_path 2018-12-31 01:14:51 +00:00
test_rubyoptions.rb Consider END block 2019-02-13 12:02:08 +00:00
test_rubyvm.rb
test_rubyvm_mjit.rb skip tests if --disable-mjit-support. 2018-10-20 08:06:50 +00:00
test_settracefunc.rb Revert r63383, r63248 "compile.c: copy a short insn with leave" 2019-02-01 05:11:08 +00:00
test_signal.rb thread_pthread.c: main thread always gets hit by signals 2018-08-25 21:59:30 +00:00
test_sleep.rb
test_sprintf.rb test_sprintf.rb: test for %p 2018-09-15 08:39:07 +00:00
test_sprintf_comb.rb
test_string.rb string.c: remove the deprecation warnings of String#bytes with block 2018-12-26 14:43:25 +00:00
test_stringchar.rb
test_struct.rb Enumerable#to_h with block and so on 2018-09-20 15:06:56 +00:00
test_super.rb test/ruby/test_super.rb: Remove unused assertions 2018-04-17 08:52:25 +00:00
test_symbol.rb vm_args.c: search symbol proc in super classes 2018-12-30 21:42:52 +00:00
test_syntax.rb parse.y: trim newline in erred code 2019-01-26 13:43:32 +00:00
test_system.rb test/ruby/test_system.rb: suppress prompt and echo on Windows 2018-08-18 02:44:35 +00:00
test_thread.rb Ensure to terminate the child 2019-01-11 01:18:59 +00:00
test_thread_cv.rb revisit more MJIT test skips 2018-10-22 15:49:22 +00:00
test_thread_queue.rb appveyor.yml: give up running TestThreadQueue#test_queue_with_trap 2018-10-07 14:05:56 +00:00
test_threadgroup.rb
test_time.rb time.c: zone in fixoff mode 2018-12-24 01:46:48 +00:00
test_time_tz.rb time.c: support military time zone names 2019-01-07 07:03:23 +00:00
test_trace.rb
test_transcode.rb
test_undef.rb Test for undef'ed method in class hierachy 2018-11-16 04:21:57 +00:00
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb