ccarruitero / makemehapi

Self guided workshops to teach you about hapi.
https://www.npmjs.com/package/makemehapi
Other
480 stars 107 forks source link

Exercise 3 'Handling' #175

Closed gabrielgrover closed 8 years ago

gabrielgrover commented 8 years ago

When I run verify for this exercise the tests fail, but the Actual and Expected seem to be the same. Here is the output.

  1. ACTUAL: ""
  2. EXPECTED: ""
  3. ACTUAL: " Hello Handling"
  4. EXPECTED: " Hello Handling"
  5. ACTUAL: " "
  6. EXPECTED: " "
  7. ACTUAL: " Hello Handling"
  8. EXPECTED: " Hello Handling"
  9. ACTUAL: " "
  10. EXPECTED: " "
  11. ACTUAL: ""
  12. EXPECTED: ""
  13. ACTUAL: ""
  14. EXPECTED: ""
  15. ACTUAL: ""
  16. EXPECTED: ""

────────────────────────────────────────────────────────────────────────────────

✗ Submission results did not match expected!

FAIL

Your solution to HANDLING didn't pass. Try again!

It seems if your text editor does not have tab set to 4 spaces the tests will fail

fiveisprime commented 8 years ago

This has to do with newline at the end of the solution file. Adding a newline to the end of your html file will correct the issue.

I update the solution to ignore the newline.

fiveisprime commented 8 years ago

Fixed in makemehapi@5.0.1 :+1: