Bob Nystrom
dad494093e
feat: add validation to skip/take and rename split parameter for clarity
...
Add type and range checks to Sequence.skip() and Sequence.take() methods, aborting with "Count must be a non-negative integer." when count is not a non-negative integer. Rename split() parameter from 'delim' to 'delimiter' and update its error message from "Argument must be a non-empty string." to "Delimiter must be a non-empty string." for consistency. Remove old behavior allowing negative counts and add new test files for skip/take validation errors.
2017-03-15 14:22:44 +00:00
..
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2016-08-04 05:19:34 +00:00
2016-08-04 05:19:34 +00:00
2016-08-04 05:19:34 +00:00
2016-08-04 05:19:34 +00:00
2016-08-04 05:19:34 +00:00
2016-08-04 05:19:34 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2016-02-24 15:48:03 +00:00
2016-02-24 15:48:03 +00:00
2016-02-24 15:48:03 +00:00
2016-02-24 15:48:03 +00:00
2015-09-01 15:16:04 +00:00
2015-09-15 14:46:09 +00:00
2017-03-08 02:12:03 +00:00
2017-03-08 02:12:03 +00:00
2017-03-08 02:12:03 +00:00
2017-03-08 02:12:03 +00:00
2017-03-15 14:22:44 +00:00
2017-03-15 14:22:44 +00:00
2017-03-08 02:12:03 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-09-02 05:14:55 +00:00
2015-12-06 18:37:58 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00