Skip to content

Comments

Accept colon style Hash#inspect in test/console/print_test.rb#1111

Merged
ko1 merged 1 commit intoruby:masterfrom
tompng:hash_inspect_style
Jul 25, 2024
Merged

Accept colon style Hash#inspect in test/console/print_test.rb#1111
ko1 merged 1 commit intoruby:masterfrom
tompng:hash_inspect_style

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jul 24, 2024

Hash#inspect is proposed to change to {key: value, non_symbol_key => value} in https://bugs.ruby-lang.org/issues/20433#note-10
This pull request fixes test/console/print_test.rb to pass in both Hash#inspect style.

Pull request that change Hash#inspect is here ruby/ruby#10924

Accepts {key=>value} style and {key: value} style Hash#inspect
proposed in https://bugs.ruby-lang.org/issues/20433#note-10
@launchable-app
Copy link

launchable-app bot commented Jul 24, 2024

All Tests passed!

✖️no tests failed ✔️669 tests passed(1 flake)

@ko1 ko1 merged commit 79cdcfa into ruby:master Jul 25, 2024
@tompng tompng deleted the hash_inspect_style branch July 25, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants