Skip to content

Commit

Permalink
Merge pull request #24 from non-binary/nb/fix-validators-typo
Browse files Browse the repository at this point in the history
Fix typo; change cases of validtors to validators
  • Loading branch information
kornelski committed Jul 18, 2019
2 parents 08be0e1 + ba46af9 commit 7160146
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/revalidatetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('Can be revalidated?', function() {
assert.equal(headers['if-none-match'], '"123456789"');
});

it('skips weak validtors on post', function() {
it('skips weak validators on post', function() {
const postReq = simpleRequestBut({
method: 'POST',
headers: { 'if-none-match': 'W/"weak", "strong", W/"weak2"' },
Expand All @@ -107,7 +107,7 @@ describe('Can be revalidated?', function() {
assert.strictEqual(undefined, headers['if-modified-since']);
});

it('skips weak validtors on post 2', function() {
it('skips weak validators on post 2', function() {
const postReq = simpleRequestBut({
method: 'POST',
headers: { 'if-none-match': 'W/"weak"' },
Expand All @@ -118,7 +118,7 @@ describe('Can be revalidated?', function() {
assert.strictEqual(undefined, headers['if-modified-since']);
});

it('merges validtors', function() {
it('merges validators', function() {
const postReq = simpleRequestBut({
headers: { 'if-none-match': 'W/"weak", "strong", W/"weak2"' },
});
Expand Down

0 comments on commit 7160146

Please sign in to comment.