The last line must be:
hero.say(potionsOnTheWall + " potions of health on the wall!");
instead of
hero.say(potionsOnTheWall + " potion of health on the wall.");
so put s and replace . with !
The error is a little bit absurd!
I used https://www.diffchecker.com/diff to compare my and your solution!