Permalink
Browse files

fixed static tests

  • Loading branch information...
1 parent 65714be commit 4312be614a863d4d87c19af715c10e80066dec1c @tj tj committed Jun 21, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/static.test.js
View
@@ -101,14 +101,14 @@ module.exports = {
'test relative': function(){
assert.response(app,
- { url: '/foo/../foo.log' },
- { body: '127.0.0.1\n' });
+ { url: '/foo/../some%20text.txt' },
+ { body: 'whoop' });
},
-
+
'test relative root': function(){
assert.response(app2,
- { url: '/foo/../foo.log' },
- { body: '127.0.0.1\n' });
+ { url: '/foo/../some%20text.txt' },
+ { body: 'whoop' });
},
'test 404 on hidden file': function(){

0 comments on commit 4312be6

Please sign in to comment.