mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
updated coreclr dependency to latest version, fixed / path separators in pester, which were invalid due to recent coreclr cleanup and changes
This commit is contained in:
+1
-1
Submodule src/monad updated: fd8c241c63...4de6c3792e
+1
-1
Submodule src/monad-ext updated: 5f5bdb4ad3...bd3356bd4b
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Environment-Variables" {
|
||||
It "Should have environment variable" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Get-Alias" {
|
||||
It "Should have a return type of System.Array when gal returns more than one object" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-ChildItem" {
|
||||
It "Should list the contents of the current folder" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-Content" {
|
||||
It "Should throw an error on a directory " {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-Date" {
|
||||
<#
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-Item" {
|
||||
It "Should list all the items in the current working directory when asterisk is used" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-Location aka pwd" {
|
||||
<#Dependencies:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Get-Member" {
|
||||
It "Should be able to be called on string objects, ints, arrays, etc" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "Test-Split-Path" {
|
||||
<#
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "test-Add-Member" {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
. "$here\$sut"
|
||||
. "$here/$sut"
|
||||
|
||||
Describe "New-Object" {
|
||||
It "should create an object with 4 fields" {
|
||||
|
||||
Reference in New Issue
Block a user