mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
spelling fixes: test
This commit is contained in:
1 parent
b375807d7f
commit
2badb244de
38 files changed
+96
-96
No files matched your search
@@ -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";
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user