Permalink
Browse files

drop to assert() for less crazy error message

  • Loading branch information...
1 parent 38a9caf commit 3f7e3a714e082e0f22b1fbca66e9daa09a0ceecb @tj tj committed Aug 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/exports.js
View
@@ -1,6 +1,7 @@
var express = require('../')
- , request = require('./support/http');
+ , request = require('./support/http')
+ , assert = require('assert');
describe('exports', function(){
it('should have .version', function(){
@@ -14,7 +15,7 @@ describe('exports', function(){
})
it('should expose .mime', function(){
- express.mime.should.equal(require('connect').mime);
+ assert(express.mime == require('connect').mime, 'express.mime should be connect.mime');
})
it('should expose Router', function(){

0 comments on commit 3f7e3a7

Please sign in to comment.