You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: scratchpad.rb
+17-1
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,24 @@
29
29
{:something=>actual({})}
30
30
{:something=>empty_hash}
31
31
32
-
Slightly unintuitive behaviour: {} matches any hash, but [] only matches an empty array (or does now we've changed the code). Should [] match any array? How do we then specify an empty array?
32
+
# Slightly unintuitive behaviour: {} matches any hash, but [] only matches an empty array (or does now we've changed the code). Should [] match any array? How do we then specify an empty array?
0 commit comments