Skip to content
Myr

tests: add accepts test with params

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent ad9a414 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • tests:+6 added−0 removed

1 file+6 added−0 removed

modified:test/utils.js+6 added
216 unmodified lines
217 utils.accepts('html', '*/html')218 .should.equal('html');219 })220 })221222 describe('when params included', function(){223 it('should match params', function(){224 assert(null == utils.accepts('text/html; charset=us-ascii', 'text/html; charset=utf-8'));225 })226 })227})