feat: add test for reduce on empty list expecting runtime error
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[].reduce {|a, b| 1 } // expect runtime error: Can't reduce an empty sequence.
|
||||
Reference in New Issue
Block a user