Skip to content

Commit

Permalink
Better code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Feb 23, 2010
1 parent 0057b5d commit a2c58f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Expand Up @@ -52,9 +52,9 @@ function assertStatus (code) {
return function (response, body) {
if (response.statusCode != c) {
sys.puts("Status is not "+c+" it is "+response.statusCode+'. '+body)
throw "Status is not "+c+" it is "+response.statusCode+'. '+body
throw "Status is not "+c+" it is "+response.statusCode+'. '+body;
} else {
sys.puts(body)
sys.puts(body);
}
}
}
Expand Down

0 comments on commit a2c58f5

Please sign in to comment.