spelling fixes: test

This commit is contained in:
Josh Soref committed 2016-08-25 17:49:32 +00:00
1 parent b375807d7f
commit 2badb244de
38 files changed
+96 -96

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ namespace PSTests
}
[Fact]
public static void TestNonExistantIsHardLink()
public static void TestNonExistentIsHardLink()
{
// A file that should *never* exist on a test machine:
string path = @"/tmp/ThisFileShouldNotExistOnTestMachines";
+2 -2
View File
@@ -76,10 +76,10 @@ namespace PSTests
Assert.Equal(FileSystemProvider.Mode(null),String.Empty);
FileSystemInfo directoryObject = new DirectoryInfo(@"/");
FileSystemInfo fileObject = new FileInfo(@"/etc/hosts");
FileSystemInfo excutableObject = new FileInfo(@"/bin/echo");
FileSystemInfo executableObject = new FileInfo(@"/bin/echo");
Assert.Equal(FileSystemProvider.Mode(PSObject.AsPSObject(directoryObject)).Replace("r","-"),"d-----");
Assert.Equal(FileSystemProvider.Mode(PSObject.AsPSObject(fileObject)).Replace("r","-"),"------");
Assert.Equal(FileSystemProvider.Mode(PSObject.AsPSObject(excutableObject)).Replace("r","-"),"------");
Assert.Equal(FileSystemProvider.Mode(PSObject.AsPSObject(executableObject)).Replace("r","-"),"------");
}
[Fact]