Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests to new version of expresso #9

Closed
kkaefer opened this issue Feb 28, 2011 · 2 comments
Closed

Update tests to new version of expresso #9

kkaefer opened this issue Feb 28, 2011 · 2 comments

Comments

@kkaefer
Copy link

kkaefer commented Feb 28, 2011

diff --git a/test/generic-pool.test.js b/test/generic-pool.test.js
index 8ac55f6..9352136 100644
--- a/test/generic-pool.test.js
+++ b/test/generic-pool.test.js
@@ -1,8 +1,9 @@
 var poolModule = require('generic-pool');
+var assert = require('assert');

 module.exports = {

-    'expands to max limit' : function (assert, beforeExit) {
+    'expands to max limit' : function (beforeExit) {
         var createCount  = 0;
         var destroyCount = 0;
         var borrowCount  = 0;
@@ -36,7 +37,7 @@ module.exports = {
         });
     },

-    'supports priority on borrow' : function(assert, beforeExit) {
+    'supports priority on borrow' : function(beforeExit) {
         var borrowTimeLow  = 0;
         var borrowTimeHigh = 0;
         var borrowCount = 0;
@@ -83,7 +84,7 @@ module.exports = {
         });
     },

-    'removes correct object on reap' : function (assert, beforeExit) {
+    'removes correct object on reap' : function (beforeExit) {
         var destroyed = [];
         var clientCount = 0;
@coopernurse
Copy link
Owner

ok, all set - please git pull and try it again

@kkaefer
Copy link
Author

kkaefer commented Feb 28, 2011

cool, thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants