Skip to content

Commit

Permalink
Merge pull request #673 from sulabh-msft/amdfileapth_testfilePath_cas…
Browse files Browse the repository at this point in the history
…ing_issue

#672: Fix for the Chutzpah doesn't discover JS tests in which AmdPaths with Pascal case for the test modules are added
  • Loading branch information
mmanela committed Dec 11, 2017
2 parents 5145879 + e567c9c commit 757434a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chutzpah/FileProbe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public IEnumerable<PathInfo> FindScriptFiles(ChutzpahTestSettingsFile chutzpahTe

// The path we assume default to the chuzpah.json directory if the Path property is not set
var testPath = string.IsNullOrEmpty(pathSettings.Path) ? pathSettings.SettingsFileDirectory : pathSettings.Path;
testPath = UrlBuilder.NormalizeFilePath(testPath);
testPath = UrlBuilder.NormalizeFilePath(testPath, false);
testPath = testPath != null ? Path.Combine(pathSettings.SettingsFileDirectory, testPath) : null;

// If a file path is given just return that file
Expand Down Expand Up @@ -283,4 +283,4 @@ private string GetReferenceFileContentAndSetHash(ReferencedFile file, ChutzpahTe
return text;
}
}
}
}

0 comments on commit 757434a

Please sign in to comment.