Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

JSON ME output error? #10

Closed
nomadster opened this Issue · 4 comments

2 participants

@nomadster

When I try to test the last exercise i get this output:

ACTUAL:   "Cannot GET /books/"
EXPECTED: "Cannot GET /books"

Am I missing something or is just the solution wrong?

This issue can be tested against this simple example:

var app = require('express')();
app.listen(process.argv[2]);

save it in file.js the check it with:

expressworks verify file.js
@nomadster

Please note that I'm getting a lot of errors if I copy/paste the solution.js from github and verify it.

@nomadster nomadster referenced this issue from a commit in nomadster/expressworks
@nomadster nomadster Partially FIX issue #10
Now you correctly get
```
"Cannot GET /books"
```

but you cannot still run the rest of the test (and maybe this is why you are returning "" as a correct answer :) )
41c3cf7
@nomadster

I've created a Pull request with a fix for at least the first error.
https://github.com/azat-co/expressworks/pulls

@azat-co
Owner

@nomadster thank you, i'll take a look

@azat-co
Owner

merged

@azat-co azat-co closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.