Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(quiz1): Fix inconsistent wording (#826)
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
- Loading branch information
03131a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was just going through this exercise. I believe the assertion on line 23 should now be: assert_eq!(40, price2); as 40 apples should now cost 1 rather than 2 each as per the updated wording.