azat-co / expressworks

Learn Express.js from the author of one of the best books on Express.js—Pro Express.js— with this workshop that will teach you basics of Express.js.
MIT License
709 stars 220 forks source link

problem 7 & 8 expected solutions are wrong #38

Closed morenoh149 closed 9 years ago

morenoh149 commented 9 years ago

straight up wrong

expressworks verify program.js
Verifying "WHAT'S IN QUERY"...

ACTUAL:   "{\"results\":\"recent\",\"type\":\"quote\",\"page\":\"7\"}"
EXPECTED: "Cannot GET /search/?results=recent&type=quote&page=7"

# FAIL

Your solution to WHAT'S IN QUERY didn't match the expected output.
Try again!

basically you can pass this problem by omitting the route. If you use the provided solution (or a correct solution as in my case) you do not pass this problem. I would fix it myself but I'm unfamiliar with the way the expected solution is generated in https://github.com/azat-co/expressworks/blob/master/problems/whats_in_query/setup.js Also found problem 8 does something similar. I tried npm install express in these directories just in case that was the issue but it is not. Let me know if you have trouble reproducing the bug.

morenoh149 commented 9 years ago

ping @QuincyLarson @FreeCodeCamp can anyone else reproduce?

azat-co commented 9 years ago

@morenoh149 try killall node #58