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

Commit

Permalink
Merge pull request #1595 from adobe/glenn/fix-unit-tests
Browse files Browse the repository at this point in the history
Fix unit tests when run from symlinked directory
  • Loading branch information
Narciso Jaramillo committed Sep 7, 2012
2 parents 5339027 + adb0d9f commit 6f6850f
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 6f6850f

Please sign in to comment.