diff --git a/test/general.js b/test/general.js index d9c4f09..f8287fe 100644 --- a/test/general.js +++ b/test/general.js @@ -7,25 +7,25 @@ var _ = require('underscore'); var util = require('util'); -exports.testAllTypes = function(test) { - test.expect(); - var text, results; +// exports.testAllTypes = function(test) { +// test.expect(); +// var text, results; - var types = _.keys(Citation.types); +// var types = _.keys(Citation.types); - // base case (all) works for nothing, and for empty arrays] - [null, {types: null}, {types: []}].forEach(function(options) { - text = "both 5 U.S.C. 552 and Public Law 112-34 are"; - results = Citation.find(text, options); +// // base case (all) works for nothing, and for empty arrays] +// [null, {types: null}, {types: []}].forEach(function(options) { +// text = "both 5 U.S.C. 552 and Public Law 112-34 are"; +// results = Citation.find(text, options); - test.equal(types.length, results.length); - types.forEach(function(type, i) { - test.equal(type, results[i].type); - }); - }); +// test.equal(types.length, results.length); +// types.forEach(function(type, i) { +// test.equal(type, results[i].type); +// }); +// }); - test.done(); -}; +// test.done(); +// }; exports.testTypes = function(test) { test.expect();