Jared K. Smith d6328c8
'use strict';
Jared K. Smith d6328c8
var assert = require('assert');
Jared K. Smith d6328c8
var isPathCwd = require('./');
Jared K. Smith d6328c8
Jared K. Smith d6328c8
it('should check if path is cwd', function () {
Jared K. Smith d6328c8
	assert(isPathCwd(process.cwd()));
Jared K. Smith d6328c8
	assert(isPathCwd('.'));
Jared K. Smith d6328c8
	assert(!isPathCwd('foo'));
Jared K. Smith d6328c8
	assert(!isPathCwd('/'));
Jared K. Smith d6328c8
	assert(!isPathCwd('..'));
Jared K. Smith d6328c8
});