Permalink
Browse files

use mocha instead of expresso

  • Loading branch information...
1 parent 234639e commit 064aa7c64b9e7019791c3cce9d50c3eb17fba906 @tj tj committed Dec 1, 2011
Showing with 5 additions and 3 deletions.
  1. +3 −1 Makefile
  2. +1 −1 package.json
  3. +1 −1 test/jade.test.js
View
@@ -7,7 +7,9 @@ UGLIFY_FLAGS = --no-mangle
all: jade.min.js runtime.min.js
test:
- @./node_modules/.bin/expresso $(TESTS)
+ @./node_modules/.bin/mocha \
+ --ui exports \
+ $(TESTS)
benchmark:
@node support/benchmark
View
@@ -11,7 +11,7 @@
"mkdirp": ">= 0.0.7"
},
"devDependencies": {
- "expresso": "0.9.2",
+ "mocha": "*",
"coffee-script": ">= 0.0.1",
"markdown": ">= 0.0.1",
"stylus": ">= 0.0.1",
View
@@ -1006,7 +1006,7 @@ module.exports = {
tag.setAttribute(name, val)
assert.equal(tag.getAttribute(name), val)
tag.removeAttribute(name)
- assert.isUndefined(tag.getAttribute(name))
+ assert.ok(!tag.getAttribute(name))
},
'test assignment': function(){

0 comments on commit 064aa7c

Please sign in to comment.