Browse files

Rename test script for easier testing.

  • Loading branch information...
1 parent 1a23ec5 commit 66b535e099e85476e1ea2b5ce1f13606bd1b7e8f @gasi gasi committed Apr 18, 2011
Showing with 9 additions and 9 deletions.
  1. +9 −0 test/index.js
  2. +0 −9 test/test.js
View
9 test/index.js
@@ -0,0 +1,9 @@
+var assert = require('assert'),
+ HTTPStatus = require('../lib/index');
+
+module.exports = {
+ 'Test HTTP Status Code': function () {
+ assert.eql(200, HTTPStatus.OK);
+ assert.eql('OK', HTTPStatus[200]);
+ }
+};
View
9 test/test.js
@@ -1,9 +0,0 @@
-var assert = require('assert'),
- HttpStatus = require('../index');
-
-module.exports = {
- 'Test HTTP Status Code': function(){
- assert.eql(200, HttpStatus.OK);
- assert.eql('OK', HttpStatus['200']);
- }
-};

0 comments on commit 66b535e

Please sign in to comment.