Ad
  • Custom User Avatar

    I am having the same exact issue. I am returning EmptyNode from the tail as tiagorg suggested. I used narve's test specs above with an additional one shown below to make sure it was the empty node from the tail.

    Test.expect( list1.tail() === list1.remove(list1.head()) )

    Any other ideas about why it might not be passing?