var replace = require( "../src/str-replace" );

module.exports = {
  replaceAll: function( assert ) {
    var actual = replace.all( "/" ).from( "/home/dir" ).to( "\\" );
    var expected = "\\home\\dir";
    assert.strictEqual( actual, expected );
    assert.done();
  }
};

var replace = require( "../src/str-replace" );

module.exports = {
  replace_all: function( assert ) {
    var actual = replace.all( "/" ).from( "/home/dir" ).to( "\\" );
    var expected = "\\home\\dir";
    assert.strictEqual( actual, expected );
    assert.done();
  }
};

Use dash pattern in tests for better console visibility