Comparing version 0.3.2 to 0.3.3
@@ -5,2 +5,3 @@ // an assert module that returns tappable data for each assertion. | ||
, bufferEqual = require('buffer-equal') | ||
, Buffer = require('buffer').Buffer | ||
@@ -7,0 +8,0 @@ module.exports = assert |
@@ -33,3 +33,3 @@ // this is just a harness that pipes to stdout. | ||
//console.error("child.conf", child.conf) | ||
output.write(child.conf.name || "(unnamed test)") | ||
// maybe write some other stuff about the number of tests in this | ||
@@ -36,0 +36,0 @@ // thing, etc. I dunno. |
@@ -218,3 +218,5 @@ module.exports = TapConsumer | ||
var line = ind[i] | ||
, lt = line.trim() | ||
if (line === undefined) continue | ||
var lt = line.trim() | ||
if (!ys) { | ||
@@ -221,0 +223,0 @@ ys = line.match(/^(\s*)---(.*)$/) |
@@ -37,3 +37,3 @@ // this is just a harness that pipes to stdout. | ||
//console.error("child.conf", child.conf) | ||
output.write(child.conf.name || "(unnamed test)") | ||
// maybe write some other stuff about the number of tests in this | ||
@@ -40,0 +40,0 @@ // thing, etc. I dunno. |
@@ -143,2 +143,4 @@ // a thing that runs tests. | ||
//console.error("adding set of child.results") | ||
this.results.add(child.conf.name || "(unnamed test)") | ||
this.results.addSet(child.results) | ||
@@ -145,0 +147,0 @@ this.emit("childEnd", child) |
@@ -1,25 +0,8 @@ | ||
{ | ||
"name": "inherits", | ||
"description": "A tiny simple way to do classic inheritance in js", | ||
"version": "1.0.0", | ||
"keywords": [ | ||
"inheritance", | ||
"class", | ||
"klass", | ||
"oop", | ||
"object-oriented" | ||
], | ||
"main": "./inherits.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/isaacs/inherits" | ||
}, | ||
"author": { | ||
"name": "Isaac Z. Schlueter", | ||
"email": "i@izs.me", | ||
"url": "http://blog.izs.me/" | ||
}, | ||
"readme": "A dead simple way to do inheritance in JS.\n\n var inherits = require(\"inherits\")\n\n function Animal () {\n this.alive = true\n }\n Animal.prototype.say = function (what) {\n console.log(what)\n }\n\n inherits(Dog, Animal)\n function Dog () {\n Dog.super.apply(this)\n }\n Dog.prototype.sniff = function () {\n this.say(\"sniff sniff\")\n }\n Dog.prototype.bark = function () {\n this.say(\"woof woof\")\n }\n\n inherits(Chihuahua, Dog)\n function Chihuahua () {\n Chihuahua.super.apply(this)\n }\n Chihuahua.prototype.bark = function () {\n this.say(\"yip yip\")\n }\n\n // also works\n function Cat () {\n Cat.super.apply(this)\n }\n Cat.prototype.hiss = function () {\n this.say(\"CHSKKSS!!\")\n }\n inherits(Cat, Animal, {\n meow: function () { this.say(\"miao miao\") }\n })\n Cat.prototype.purr = function () {\n this.say(\"purr purr\")\n }\n\n\n var c = new Chihuahua\n assert(c instanceof Chihuahua)\n assert(c instanceof Dog)\n assert(c instanceof Animal)\n\nThe actual function is laughably small. 10-lines small.\n", | ||
"_id": "inherits@1.0.0", | ||
"_from": "inherits@*" | ||
} | ||
{ "name" : "inherits" | ||
, "description": "A tiny simple way to do classic inheritance in js" | ||
, "version" : "1.0.0" | ||
, "keywords" : ["inheritance", "class", "klass", "oop", "object-oriented"] | ||
, "main" : "./inherits.js" | ||
, "repository" : "https://github.com/isaacs/inherits" | ||
, "license": { "type": "WTFPL2" } | ||
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)" } |
@@ -1,30 +0,9 @@ | ||
{ | ||
"name": "yamlish", | ||
"description": "Parser/encoder for the yamlish format", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/isaacs/yamlish" | ||
}, | ||
"version": "0.0.5", | ||
"main": "yamlish.js", | ||
"keywords": [ | ||
"yaml", | ||
"yamlish", | ||
"test", | ||
"anything", | ||
"protocol", | ||
"tap" | ||
], | ||
"license": { | ||
"type": "MIT", | ||
"url": "http://github.com/isaacs/yamlish/raw/master/LICENSE" | ||
}, | ||
"author": { | ||
"name": "Isaac Z. Schlueter", | ||
"email": "i@izs.me", | ||
"url": "http://blog.izs.me/" | ||
}, | ||
"readme": "This is a thingie to parse the \"yamlish\" format used to serialize\nobjects in the TAP format.\n\nIt's like yaml, but just a tiny little bit smaller.\n\nUsage:\n\n var yamlish = require(\"yamlish\")\n // returns a string like:\n /*\n some:\n object:\n - full\n - of\n pretty: things\n */\n yamlish.encode({some:{object:[\"full\", \"of\"]}, pretty:\"things\"})\n\n // returns the object\n yamlish.decode(someYamlishString)\n", | ||
"_id": "yamlish@0.0.5", | ||
"_from": "yamlish@*" | ||
} | ||
{ "name" : "yamlish" | ||
, "description" : "Parser/encoder for the yamlish format" | ||
, "repository":"https://github.com/isaacs/yamlish" | ||
, "version" : "0.0.5" | ||
, "main" : "yamlish.js" | ||
, "keywords" : [ "yaml", "yamlish", "test", "anything", "protocol", "tap"] | ||
, "license" : { "type" : "MIT" | ||
, "url" : "http://github.com/isaacs/yamlish/raw/master/LICENSE" } | ||
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)" } |
{ | ||
"name": "tap", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)", | ||
@@ -5,0 +5,0 @@ "description": "A Test-Anything-Protocol library", |
@@ -15,3 +15,3 @@ This is a mix-and-match set of utilities that you can use to write test | ||
3. `npm install tap` | ||
4. `tap ./tests` | ||
4. `tap ./test` | ||
@@ -79,3 +79,3 @@ The output will be TAP-compliant. | ||
``` | ||
TAP_COV=1 tap ./tests [--cover=./lib,foo.js] [--cover-dir=./coverage] | ||
TAP_COV=1 tap ./test [--cover=./lib,foo.js] [--cover-dir=./coverage] | ||
``` | ||
@@ -82,0 +82,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101419
59
2955
1
21
6