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
Kenta Murata a6a8576e87
Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241)
* Support ArithmeticSequence in Array#slice

* Extract rb_range_component_beg_len

* Use rb_range_values to check Range object

* Fix ary_make_partial_step

* Fix for negative step cases

* range.c: Describe the role of err argument in rb_range_component_beg_len

* Raise a RangeError when an arithmetic sequence refers the outside of an array

[Feature #16812]
2020-10-21 02:40:18 +09:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241) 2020-10-21 02:40:18 +09:00
test_assignment.rb
test_ast.rb
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_default_gems.rb
test_defined.rb
test_dir.rb
test_dir_m17n.rb
test_econv.rb
test_encoding.rb Check encoding name to replicate 2020-10-15 16:48:25 +09:00
test_enum.rb
test_enumerator.rb
test_env.rb
test_eval.rb
test_exception.rb Make Warning.warn accept only category keyword 2020-09-28 08:38:06 -07:00
test_fiber.rb test/ruby/test_fiber.rb: Suppress "assigned but unused variable" warnings 2020-10-13 13:40:44 +09:00
test_file.rb
test_file_exhaustive.rb Make the test suite pass on real Android/Termux environment 2020-10-12 21:26:05 +09:00
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb
test_frozen_error.rb
test_gc.rb
test_gc_compact.rb
test_hash.rb
test_ifunless.rb
test_inlinecache.rb
test_integer.rb Fix unsigned int overflow in error message for chr 2020-09-30 00:31:59 +09:00
test_integer_comb.rb
test_io.rb
test_io_m17n.rb Check encoding name to replicate 2020-10-15 16:48:25 +09:00
test_iseq.rb Unfreeze string-literal-only interpolated string-literal 2020-09-30 22:15:28 +09:00
test_iterator.rb
test_jit.rb
test_jit_debug.rb
test_key_error.rb
test_keyword.rb
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb
test_math.rb
test_memory_view.rb
test_metaclass.rb
test_method.rb Fix assert_ruby_status usage in 174ae0f577 2020-10-03 03:05:21 +09:00
test_mixed_unicode_escapes.rb
test_module.rb remove uneffective test 2020-10-14 23:15:21 +09:00
test_name_error.rb
test_nomethod_error.rb
test_not.rb
test_numeric.rb bignum.c (rb_int_powm): Integer#pow(0, 1) should return 0 2020-10-12 13:42:48 +09:00
test_object.rb
test_objectspace.rb
test_optimization.rb
test_pack.rb
test_parse.rb
test_path.rb
test_pattern_matching.rb
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb
test_regexp.rb
test_require.rb
test_require_lib.rb
test_rubyoptions.rb
test_rubyvm.rb ruby_vm_global_method_state is no longer needed. 2020-10-14 23:15:21 +09:00
test_rubyvm_mjit.rb
test_settracefunc.rb
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_stack.rb Pass ASAN options to child environments 2020-09-28 09:45:04 -07:00
test_string.rb
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_syntax.rb test/ruby/test_syntax.rb: avoid "warning: assigned but unused variable" 2020-10-16 11:10:58 +09:00
test_system.rb
test_thread.rb
test_thread_cv.rb
test_thread_queue.rb
test_threadgroup.rb
test_time.rb
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb