public void ATransitiveDependencyPathShouldBeRelativeToTheIncludingDependency()
{
var deepLib = this._WriteFile("libs/helpers/lib.js", @"
alert('1');
");
var shallowLib = this._WriteFile("libs/lib.js", @"
/// <reference path=""helpers/lib.js"" />
alert('2');
");
var rootLib = this._WriteFile("lib.js", @"
/// <reference path=""libs/lib.js"" />
alert('3');
");
this._AssertOrderingFor(deepLib, shallowLib, rootLib).Expect(deepLib).Expect(shallowLib).Expect(rootLib).Complete();
this._AssertOrderingFor(rootLib, shallowLib, deepLib).Expect(deepLib).Expect(shallowLib).Expect(rootLib).Complete();
}