Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[dist] 0.0.3

added tests
  • Loading branch information...
commit 01796713d4e74c122576577144a3c2241f456c18 1 parent c1f59bc
Nuno Job authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  package.json
  2. +1 −1  test/index.js
3  package.json
View
@@ -1,11 +1,12 @@
{ "name" : "p"
, "description" : "pattern matching in javascript for asyncronous iteration"
, "author" : "nuno job <nunojobpinto@gmail.com> (http://nunojob.com/)"
-, "version" : "0.0.2"
+, "version" : "0.0.3"
, "main" : "./pattern.js"
, "homepage" : "https://github.com/dscape/p"
, "repository" : { "type": "git", "url": "http://github.com/dscape/p.git" }
, "bugs" : "http://github.com/dscape/p/issues"
, "keywords" : ["pattern matching", "pattern", "flow", "async"]
, "engines" : { "node" : ">=0.4.0" }
+, "scripts" : { "test": "node test"}
}
2  test/index.js
View
@@ -26,7 +26,7 @@ tests.forEach(
i++;
buffer = buffer.replace(/^\s+|\s+$/g,"");
var ok = buffer === output;
- console.log(c(ok ? '' : '', ok ? 'green' : 'red'),f);
+ console.log(c(ok ? '' : '', ok ? 'green' : 'red'), 'samples/'+f);
if(!ok) {
return_code=1;
console.log(c('', 'cyan'), buffer);
Please sign in to comment.
Something went wrong with that request. Please try again.