Name: js-handler/node_modules/nodeunit/node_modules/tap/test/common.js
| 1: | exports.taps = ["Tests for the foo module" |
| 2: | ,{ok:true, name:"test that the foo is fooish" |
| 3: | ,file:"foo.js", line:8, name:"fooish test" |
| 4: | ,stack:new Error("fooish").stack} |
| 5: | ,{ok:false, name:"a test that the bar is barish" |
| 6: | ,file:"bar.js", line:25 |
| 7: | ,expected:"bar\nbar\nbaz", actual:"rab\nrib\nzib" |
| 8: | ,hash:{more:"\nstuff\nhere\n",regexp:/asdf/}} |
| 9: | ,"Quux module tests" |
| 10: | ,"This is a longer comment" |
| 11: | ,{ok:true, name:"an easy one."} |
| 12: | ,{ok:false, name:"bloooooo" |
| 13: | ,expected:"blerggeyyy" |
| 14: | ,actual:"blorggeyy"} |
| 15: | ,{ok:false, name:"array test" |
| 16: | ,expected:[{ok:true},{ok:true},{stack:new Error().stack}] |
| 17: | ,actual:[1234567890,123456789,{error:new Error("yikes")}]} |
| 18: | ,{ok:true, name:"nulltest" |
| 19: | ,expected:undefined, actual:null} |
| 20: | ,{ok:true, name:"weird key test" |
| 21: | ,expected:"weird key" |
| 22: | ,actual:"weird key" |
| 23: | ,"this object":{"has a ":"weird key" |
| 24: | ,"and a looooooooonnnnnnnnnggg":"jacket"}} |
| 25: | ,{ok:true, name:"regexp test" |
| 26: | ,regexp:/asdf/,function:function (a,b) { return a + b }} |
| 27: | ] |
| 28: | |
| 29: | if (require.main === module) { |
| 30: | console.log("1..1") |
| 31: | console.log("ok 1 - just setup, nothing relevant") |
| 32: | } |
