Skip to content

Commit

Permalink
test: fix invalid assert etag value
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Aug 21, 2017
1 parent 754e45e commit 54ab976
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
@@ -1,9 +1,8 @@
sudo: false
node_js:
- "5"
- "8"
- "6"
- "4"
- "3"
- "2"
- "0.12"
language: node_js
script: "npm run test-travis"
Expand Down
8 changes: 4 additions & 4 deletions test/index.js
Expand Up @@ -54,7 +54,7 @@ describe('etag()', function(){

request(app.listen())
.get('/')
.expect('ETag', '"b-sQqNsWTgdUEFt6mb5y4/5Q"')
.expect('ETag', '"b-Ck1VqNd45QIvq3AZd8XYQLvEhtA"')
.end(done);
})
})
Expand All @@ -72,7 +72,7 @@ describe('etag()', function(){

request(app.listen())
.get('/')
.expect('ETag', '"b-sQqNsWTgdUEFt6mb5y4/5Q"')
.expect('ETag', '"b-Ck1VqNd45QIvq3AZd8XYQLvEhtA"')
.end(done);
})
})
Expand All @@ -90,7 +90,7 @@ describe('etag()', function(){

request(app.listen())
.get('/')
.expect('ETag', '"d-m7WPJhkuS6APAeLnsTa72A"')
.expect('ETag', '"d-pedE0BZFQNM7HX6mFsKPL6l+dUo"')
.end(done);
})
})
Expand Down Expand Up @@ -127,7 +127,7 @@ describe('etag()', function(){

request(app.listen())
.get('/')
.expect('ETag', 'W/"b-sQqNsWTgdUEFt6mb5y4/5Q"')
.expect('ETag', 'W/"b-Ck1VqNd45QIvq3AZd8XYQLvEhtA"')
.end(done);
})
})
Expand Down

0 comments on commit 54ab976

Please sign in to comment.