コード例 #1
0
 public void KnowledgePreservesCase()
 {
     using (var dir = new TempDirectory())
     {
         var root = dir.Value().FullName;
         var mem  = new FileContents(root, new LocalSyncPipe());
         mem.Xml(@"BIG\subdir/file", () => new XDocument(new XElement("root", new XElement("years", new XText("1980's")))));
         Assert.Equal(
             "BIG/subdir/file",
             new FirstOf <string>(mem.Knowledge()).Value()
             );
     }
 }