Merge pull request 112 from dev/70-refactor-FileSystemProvider into develop

This commit is contained in:
Peter Honeder 2015-08-06 14:44:43 +00:00
commit 8daafecc67
3 changed files with 21 additions and 1 deletions

@ -1 +1 @@
Subproject commit 1a2fa0af446bf6adda0400fc54b5529afe58ef19
Subproject commit 0a616962315ca21bfc3d39bf699d26540a97d08a

View file

@ -18,4 +18,8 @@
(Get-Item /usr/bin) | Should Not BeNullOrEmpty
(Get-Item ..) | Should Not BeNullOrEmpty
}
It "Should have mode flags set" {
ls / | foreach-object { $_.Mode | Should Not BeNullOrEmpty }
}
}

View file

@ -0,0 +1,16 @@
using Xunit;
using System;
using System.Management.Automation;
using Microsoft.PowerShell.Commands;
namespace PSTests
{
public static class FileSystemProviderTests
{
[Fact]
public static void TestCreateJunctionFails()
{
Assert.False(InternalSymbolicLinkLinkCodeMethods.CreateJunction("",""));
}
}
}