Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

drop to assert() for less crazy error message

  • Loading branch information...
commit 3f7e3a714e082e0f22b1fbca66e9daa09a0ceecb 1 parent 38a9caf
@tj tj authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/exports.js
View
5 test/exports.js
@@ -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(){
Please sign in to comment.
Something went wrong with that request. Please try again.