Skip to content
Browse files

inclusive test

  • Loading branch information...
1 parent e067641 commit 4e192c0ba54bec46a89a46fd45e9b014a1f8e3d8 @tj tj committed Nov 11, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/static.js
View
7 test/static.js
@@ -113,6 +113,13 @@ describe('connect.static()', function(){
.expect('12345', done);
})
+ it('should be inclusive', function(done){
+ app.request()
+ .get('/nums')
+ .set('Range', 'bytes=0-0')
+ .expect('1', done);
+ })
+
it('should respond with 206 "Partial Content"', function(done){
app.request()
.get('/nums')

0 comments on commit 4e192c0

Please sign in to comment.
Something went wrong with that request. Please try again.