Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename test script for easier testing.

  • Loading branch information...
commit 66b535e099e85476e1ea2b5ce1f13606bd1b7e8f 1 parent 1a23ec5
@gasi gasi authored
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']);
- }
-};
Please sign in to comment.
Something went wrong with that request. Please try again.