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
k0kubun 8411f58ed7 struct.c: show keyword_init: true on inspect
for debugging if it's specified for the Struct class.
This follows up r61137.

We don't provide a method to check it because I don't think of any use
case, but showing this to inspect would be helpful for debugging if
someone is debugging whether keyword_init is properly enabled or not.

In this commit, I didn't show `keyword_init: false` because of backward
compatibility. Ideally any application should not depend on the behavior
of inspect, but I don't have strong motivation to break it too.

[close GH-1773]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-12 15:03:45 +00:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb test/ruby/bug-13526.rb: should wait until all threads are stopped 2017-11-21 00:56:09 +00:00
lbtest.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
marshaltestlib.rb
sentence.rb
test_alias.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_argf.rb io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
test_arity.rb
test_array.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_assignment.rb
test_autoload.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_backtrace.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_basicinstructions.rb
test_beginendblock.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_bignum.rb numeric.c: use NUM2DBL 2017-09-22 03:05:02 +00:00
test_call.rb test_call.rb: refine test_safe_call 2017-10-02 11:43:36 +00:00
test_case.rb
test_class.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb freeze Complex and Rational 2017-10-19 10:58:08 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb parse.y: primary should not be 0 2017-08-22 13:21:18 +00:00
test_dir.rb Revert "Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]" 2017-10-27 08:40:40 +00:00
test_dir_m17n.rb High Sierra's APFS cannot use invalid filenames [Bug #13816] 2017-08-15 21:33:43 +00:00
test_econv.rb
test_encoding.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_enum.rb Add case equality arity to Enumerable#all?, any?, none? and one?, 2017-12-10 22:36:28 +00:00
test_enumerator.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_env.rb test_env.rb: fix one-off bug 2017-10-26 07:36:23 +00:00
test_eval.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_exception.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
test_fiber.rb make root fiber at switching. 2017-10-26 14:38:22 +00:00
test_file.rb file.c: infect from arguments 2017-11-01 02:22:10 +00:00
test_file_exhaustive.rb test_file_exhaustive.rb: get rid of failures 2017-12-08 07:35:07 +00:00
test_fixnum.rb
test_flip.rb
test_float.rb numeric.c: fix for small number 2017-05-27 01:26:31 +00:00
test_fnmatch.rb Revert "Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]" 2017-10-27 08:40:40 +00:00
test_gc.rb Revert "Revert "Manage AST NODEs out of GC"" 2017-10-27 16:44:57 +00:00
test_hash.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_ifunless.rb
test_integer.rb numeric.c: use NUM2DBL 2017-09-22 03:05:02 +00:00
test_integer_comb.rb Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753] 2017-12-12 09:12:14 +00:00
test_io.rb disable GC. 2017-11-07 14:23:58 +00:00
test_io_m17n.rb io.c: read BOM only for reading 2017-11-23 07:10:56 +00:00
test_iseq.rb test/ruby/test_iseq.rb: Skip test_safe_call_chain if Coverage is running. 2017-09-25 00:09:44 +00:00
test_iterator.rb check break target correctly. 2017-06-08 04:13:51 +00:00
test_keyword.rb compile.c: kw splat after splat 2017-11-02 07:52:49 +00:00
test_lambda.rb
test_lazy_enumerator.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_literal.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_math.rb
test_metaclass.rb
test_method.rb Unneeded assertion 2017-12-12 12:12:39 +00:00
test_mixed_unicode_escapes.rb
test_module.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_not.rb
test_notimp.rb apply timeout scale 2017-05-27 02:01:41 +00:00
test_numeric.rb Integer#pow(b) accepts numeric 2017-12-06 15:02:31 +00:00
test_object.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_objectspace.rb
test_optimization.rb Fix a method name 2017-12-11 23:20:42 +00:00
test_pack.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_parse.rb parse.y: zero codepoints 2017-11-14 15:37:48 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb * proc.c (get_local_variable_ptr): return found env ptr. Returned env 2017-06-12 02:20:09 +00:00
test_process.rb process.c: add Process.last_status 2017-12-12 09:00:17 +00:00
test_rand.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_range.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_rational.rb freeze Complex and Rational 2017-10-19 10:58:08 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb Modules should not have subclasses. 2017-12-02 10:54:39 +00:00
test_regexp.rb regexec.c: invalidate previously matched position 2017-11-13 05:50:54 +00:00
test_require.rb load.c: real path to load 2017-09-21 07:29:20 +00:00
test_rubyoptions.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_rubyvm.rb
test_settracefunc.rb remove rb_thread_t::event_hooks. 2017-11-15 13:21:24 +00:00
test_signal.rb remove ruby_kill() introduced for [Bug #7951]. 2017-06-12 04:52:25 +00:00
test_sleep.rb
test_sprintf.rb error.c: KeyError#receiver and KeyError#key 2017-09-18 08:05:53 +00:00
test_sprintf_comb.rb
test_string.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_stringchar.rb
test_struct.rb struct.c: show keyword_init: true on inspect 2017-12-12 15:03:45 +00:00
test_super.rb
test_symbol.rb Suppress warning: method redefined; discarding old == 2017-07-03 08:08:29 +00:00
test_syntax.rb test_syntax.rb: Add a test case for not() 2017-12-05 23:34:14 +00:00
test_system.rb
test_thread.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_threadgroup.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_time.rb Time#at receives 3rd argument which specifies the unit of 2nd argument [Feature #13919] 2017-09-25 06:20:10 +00:00
test_time_tz.rb
test_trace.rb test_exception.rb: test_machine_stackoverflow_by_trace 2017-05-10 06:38:30 +00:00
test_transcode.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_vm_dump.rb skip unless PLATFORM is darwin. 2017-09-01 02:09:02 +00:00
test_weakmap.rb skip tests temporarily 2017-10-27 18:55:28 +00:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb