General

Profile

hdiwan (Hasan Diwan)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

11/09/2026

03:58 AM Ruby Misc #22515 (Rejected): Add tests for hash#sort_by
I noticed Hash#sort_by had no test coverage, so I added a few tests for it:
``` ruby
def test_sort_by
assert_equal({ zebra: 90, apple: 90, banana: 85,c: 3, a: 1, b: 2 }.sort_by { |key, value| [ key, value] }.to_h,{a: 1, app...
hdiwan (Hasan Diwan)

Also available in: Atom