Permalink
Browse files

subtle test warnings

  • Loading branch information...
aheckmann committed Feb 2, 2012
1 parent ab223d5 commit 4bc2f9f03aa5f6f40caae8cb84a5b7d775cb5fd6
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/index.test.js
  2. +1 −1 test/shard.test.js
View
@@ -154,7 +154,7 @@ module.exports = {
var uri = process.env.MONGOOSE_SET_TEST_URI;
if (!uri) {
- console.log('\033[31m', '\n', 'You\'re not testing for replica sets!'
+ console.log('\033[30m', '\n', 'You\'re not testing replica sets!'
, '\n', 'Please set the MONGOOSE_SET_TEST_URI env variable.', '\n'
, 'e.g: `mongodb://localhost:27017/db,mongodb://localhost…`', '\n'
, '\033[39m');
View
@@ -9,7 +9,7 @@ var start = require('./common')
var uri = process.env.MONGOOSE_SHARD_TEST_URI;
if (!uri) {
- console.log('\033[31m', '\n', 'You\'re not testing shards!'
+ console.log('\033[30m', '\n', 'You\'re not testing shards!'
, '\n', 'Please set the MONGOOSE_SHARD_TEST_URI env variable.', '\n'
, 'e.g: `mongodb://localhost:27017/database', '\n'
, 'Sharding must already be enabled on your database'

0 comments on commit 4bc2f9f

Please sign in to comment.