linked-list: contains test case that doesn't match exercise insturction #2131
Labels
x:action/improve
Improve existing functionality/content
x:knowledge/elementary
Little Exercism knowledge required
x:module/practice-exercise
Work on Practice Exercises
x:size/small
Small amount of work
x:type/content
Work on content (e.g. exercises, concepts)
Exercise instruction says this:
However, prototype of List contains
PopBack() (interface{}, error)
andPopFront() (interface{}, error)
, which suggests that we should return error object when list was empty. Test cases also asserts that correct error object is returned when list was empty.I opened this issue here because test cases on problem specifications repository doesn't have this issue.
The text was updated successfully, but these errors were encountered: