-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for "Reduce of empty array with no initial value" error in Contra…
…ctFunctionParameters array methods (#2016) * adding an initial value of the reduce method + tests Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech> * remove .only Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech> * adding test for when methods fail Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech> * using const Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech> --------- Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
- Loading branch information
1 parent
5f75aa7
commit da10ed5
Showing
2 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters