You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It 'Copies a file via LiteralPath where only filename is supplied prefixed with .\ ($PreCreateDestination = $<PreCreateDestination>; $FileCopyMode = $<FileCopyMode>)' {
It 'Copies a file where both source and destination folders are prefixed with .\ ($PreCreateDestination = $<PreCreateDestination>; $FileCopyMode = $<FileCopyMode>)' {
# Known issue - "$DestinationPath\Source\test.txt" will only exist when using Robocopy
187
+
"$DestinationPath\Source\test.txt"| Should -Exist
188
+
}
189
+
if ($Recurse)
190
+
{
191
+
"$DestinationPath\Source\Subfolder1\test1.txt"| Should -Exist
192
+
}
193
+
else
194
+
{
195
+
"$DestinationPath\Source\Subfolder1\test1.txt"| Should -Not-Exist
196
+
}
197
+
}
198
+
}
199
+
152
200
It 'Copies files with a * as the source filename ($PreCreateDestination = $<PreCreateDestination>; $Recurse = $<Recurse>; $Flatten = $<Flatten>; $FileCopyMode = $<FileCopyMode>)' {
0 commit comments