Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix unit tests when run from symlinked directory #1595

Merged
merged 2 commits into from
Sep 7, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/SpecRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ define(function (require, exports, module) {
}

// This returns path to test folder, so convert to src
bracketsPath = bracketsPath.replace("brackets/test", "brackets/src");
bracketsPath = bracketsPath.replace(/\/test$/, "/src");

return Async.doInParallel(paths, function (dir) {
return ExtensionLoader.testAllExtensionsInNativeDirectory(
Expand Down