Skip to content

Commit

Permalink
Merge pull request dwyl#52 from mcmo/master
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
iteles committed Jan 21, 2016
2 parents 53d936d + 7dc814e commit 3c01a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ test("Basic HTTP Tests - GET /{yourname*}", function(t) { // t
// server.inject lets you similate an http request
server.inject(options, function(response) {
t.equal(response.statusCode, 200); // Expect http response status code to be 200 ("Ok")
t.equal(response.result.lenght, 12); // Expect result to be "Hello Timmy!" (12 chars long)
t.equal(response.result.length, 12); // Expect result to be "Hello Timmy!" (12 chars long)
server.stop(t.end); // t.end() callback is required to end the test in tape
});
});
Expand Down

0 comments on commit 3c01a98

Please sign in to comment.