Пример #1
0
 public void NormalizePath()
 {
     VirtualFilePathHelper.NormalizePath("~/test-one/test-two/test-three.js").ShouldBe("~/test_one/test_two/test-three.js");
 }
Пример #2
0
 protected override string NormalizePath(string subpath)
 {
     return(VirtualFilePathHelper.NormalizePath(subpath));
 }
Пример #3
0
 public void NormalizePath()
 {
     // Hyphens should be normalized to underscores
     Assert.AreEqual("~/test_one/test_two/test-three.txt", VirtualFilePathHelper.NormalizePath("~/test-one/test-two/test-three.txt"));
 }