Skip to content

Commit d4be8ce

Browse files
committed
Fix integration test
1 parent c448bda commit d4be8ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Integration/Source1.Tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Describe "Regression test for #84: Multiple Aliases per command will Export" -Ta
8484
$Metadata = Import-Metadata $Output.Path
8585

8686
It "Should update AliasesToExport in the manifest" {
87-
$Metadata.AliasesToExport | Should -Be @("GS","GSou", "SS", "SSou")
87+
$Metadata.AliasesToExport | Should -Be @("Get-MyAlias","GS","GSou", "SS", "SSou")
8888
}
8989
}
9090

@@ -118,7 +118,7 @@ Describe "Supports building without a build.psd1" -Tag Integration {
118118
}
119119

120120
It "Should update AliasesToExport in the manifest" {
121-
$Build.Metadata.AliasesToExport | Should -Be @("GS", "GSou", "SS", "SSou")
121+
$Build.Metadata.AliasesToExport | Should -Be @("Get-MyAlias","GS", "GSou", "SS", "SSou")
122122
}
123123

124124
It "Should update FunctionsToExport in the manifest" {
@@ -168,7 +168,7 @@ Describe "Defaults to VersionedOutputDirectory" -Tag Integration {
168168
}
169169

170170
It "Should update AliasesToExport in the manifest" {
171-
$Build.Metadata.AliasesToExport | Should -Be @("GS", "GSou", "SS", "SSou")
171+
$Build.Metadata.AliasesToExport | Should -Be @("Get-MyAlias","GS", "GSou", "SS", "SSou")
172172
}
173173

174174
It "Should update FunctionsToExport in the manifest" {
@@ -205,7 +205,7 @@ Describe "Supports building discovering the module without a build.psd1" -Tag In
205205
}
206206

207207
It "Should update AliasesToExport in the manifest" {
208-
$Build.Metadata.AliasesToExport | Should -Be @("GS", "GSou", "SS", "SSou")
208+
$Build.Metadata.AliasesToExport | Should -Be @("Get-MyAlias","GS", "GSou", "SS", "SSou")
209209
}
210210

211211
It "Should update FunctionsToExport in the manifest" {

0 commit comments

Comments
 (0)