/**
 * Test case for strip.
 * Runs with nodeunit.
 */

var strip = require('../lib/strip.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};

exports['Strip'] = function (test) {
    console.log(strip('..foo/bar/baz...', /\./));
    test.done();
};


@@ -238,19 +238,18 @@
     
-console.log
+test.equal
 (str
@@ -276,16 +276,31 @@
 ', /%5C./)
+, 'foo/bar/baz'
 );%0A    t

Add test