Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 7ec83cebf4078cbc85103799329816993744da13 @tj committed Nov 17, 2010
Showing with 67 additions and 0 deletions.
  1. 0 History.md
  2. +6 −0 Makefile
  3. +27 −0 Readme.md
  4. +2 −0 index.js
  5. +12 −0 lib/should.js
  6. +8 −0 package.json
  7. +12 −0 test/should.test.js
No changes.
@@ -0,0 +1,6 @@
+
+test:
+ @./support/expresso/bin/expresso \
+ -I lib
+
+.PHONY: test
@@ -0,0 +1,27 @@
+
+# Should.js
+
+## License
+
+(The MIT License)
+
+Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
+
+module.exports = require('./lib');
@@ -0,0 +1,12 @@
+
+/*!
+ * Should
+ * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
+ * MIT Licensed
+ */
+
+/**
+ * Library version.
+ */
+
+exports.version = '0.0.1';
@@ -0,0 +1,8 @@
+{ "name": "should"
+ , "description": "test framework agnostic BDD-style assertions"
+ , "version": "0.0.1"
+ , "author": "TJ Holowaychuk <tj@vision-media.ca>"
+ , "keywords": ["test", "bdd", "assert"]
+ , "main": "./lib/should.js"
+ , "engines": { "node": ">= 0.2.0" }
+}
@@ -0,0 +1,12 @@
+
+/**
+ * Module dependencies.
+ */
+
+var should = require('should');
+
+module.exports = {
+ 'test .version': function(assert){
+ assert.match(should.version, /^\d+\.\d+\.\d+$/);
+ }
+}

0 comments on commit 7ec83ce

Please sign in to comment.