diff options
author | Andrew Konchin <[email protected]> | 2024-12-09 21:00:08 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2024-12-10 14:38:52 +0100 |
commit | d5abcae43500e3b51b9fcb0918d7e849e024aee1 (patch) | |
tree | 0bf5f19fcdb0828d9ab4eac1114788fcf33530fa /spec/ruby/optional/capi/ext/hash_spec.c | |
parent | de5df203bcfb228b7043ae0116535953c325ddb4 (diff) |
Fix formatting of spec/ruby/optional/capi/ext/hash_spec.c
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12297
Diffstat (limited to 'spec/ruby/optional/capi/ext/hash_spec.c')
-rw-r--r-- | spec/ruby/optional/capi/ext/hash_spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/ext/hash_spec.c b/spec/ruby/optional/capi/ext/hash_spec.c index e7fdbb10f4..0e5b3d1c0a 100644 --- a/spec/ruby/optional/capi/ext/hash_spec.c +++ b/spec/ruby/optional/capi/ext/hash_spec.c @@ -136,7 +136,7 @@ VALUE hash_spec_compute_a_hash_code(VALUE self, VALUE seed) { VALUE hash_spec_rb_hash_bulk_insert(VALUE self, VALUE array_len, VALUE array, VALUE hash) { VALUE* ptr; - + if (array == Qnil) { ptr = NULL; } else { |