Discrepancy between docs and test case #1394
Labels
bug 🐛
Something isn't working
x:action/fix
Fix an issue
x:knowledge/none
No existing Exercism knowledge required
x:size/small
Small amount of work
x:status/claimed
Someone is working on this issue
x:type/content
Work on content (e.g. exercises, concepts)
The comment on
purchaseInventoryIfAvailable
in fruit-picker.js says arg should be bool but a test case expects passing an object to return "PURCHASE" as if this is an expected type.javascript/exercises/concept/fruit-picker/fruit-picker.js
Line 38 in 669ddc8
javascript/exercises/concept/fruit-picker/fruit-picker.spec.js
Line 74 in 669ddc8
The test case should be replaced by a bool or the comment should be updated to show different types are expected.
The text was updated successfully, but these errors were encountered: