Browse Source

Add badass formatting to url matching tests output

pull/1/merge
Luke Childs 9 years ago
parent
commit
b49c644949
  1. 4
      test/unit.js

4
test/unit.js

@ -49,7 +49,7 @@ describe('Urls()', function() {
describe('Should match', function() { describe('Should match', function() {
matches.forEach(function(match) { matches.forEach(function(match) {
it(match.description, function () { it(match.description + ' -> ' + match.url, function () {
expect(Urls(match.url).get()).to.deep.equal([match.url]); expect(Urls(match.url).get()).to.deep.equal([match.url]);
}); });
}); });
@ -59,7 +59,7 @@ describe('Urls()', function() {
describe('Should not match', function() { describe('Should not match', function() {
nonMatches.forEach(function(nonMatch) { nonMatches.forEach(function(nonMatch) {
it(nonMatch.description, function () { it(nonMatch.description + ' -> ' + nonMatch.url, function () {
expect(Urls(nonMatch.url).get()).to.deep.equal([]); expect(Urls(nonMatch.url).get()).to.deep.equal([]);
}); });
}); });

Loading…
Cancel
Save