'use strict';
var test = require('ava');
var untildify = require('./');

test(function (t) {
	process.env.HOME = '/Users/sindresorhus';
	t.assert(untildify('~/dev') === '/Users/sindresorhus/dev');
});

'use strict';
var test = require('ava');
var untildify = require('./');

test(function (t) {
	var fixture = '~/dev';
	t.assert(/\/dev/.test(untildify(fixture)));
	t.assert(untildify(fixture) !== fixture);
});

fix tests