Skip to content

Commit ebb0464

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating Examples Should Work (adding docs) (re #461)
1 parent ffffb67 commit ebb0464

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

Tests/Examples/Get-PipeScript.examples.tests.ps1

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,5 @@ describe 'Get-PipeScript' {
2121
{ partial function f { } } |
2222
PipeScript Import -PassThru | Should -BeOfType ([Management.Automation.PSModuleInfo])
2323
}
24-
it 'Get-PipeScript Example 6' {
25-
Aspect.ModuleExtensionCommand -Module PipeScript | Should -BeOfType ([Management.Automation.CommandInfo])
26-
}
27-
it 'Get-PipeScript Example 7' {
28-
Aspect.ModuleCommandPattern -Module PipeScript | Should -BeOfType ([Regex])
29-
}
30-
it 'Get-PipeScript Example 8' {
31-
# Outputs a PSObject with information about extension command types.
32-
33-
# The two primary pieces of information are the `.Name` and `.Pattern`.
34-
Aspect.ModuleExtensionType -Module PipeScript | Should -BeOfType ([PSObject])
35-
}
36-
it 'Get-PipeScript Example 9' {
37-
# Outputs a PSObject with information about extension command types.
38-
39-
# The two primary pieces of information are the `.Name` and `.Pattern`.
40-
Aspect.ModuleExtensionType -Module PipeScript | Should -BeOfType ([PSObject])
41-
}
42-
it 'Get-PipeScript Example 10' {
43-
Aspect.ModuleCommandPattern -Module PipeScript | Should -BeOfType ([Regex])
44-
}
45-
it 'Get-PipeScript Example 11' {
46-
# Outputs a PSObject with information about extension command types.
47-
48-
# The two primary pieces of information are the `.Name` and `.Pattern`.
49-
Aspect.ModuleExtensionType -Module PipeScript | Should -BeOfType ([PSObject])
50-
}
51-
it 'Get-PipeScript Example 12' {
52-
Get-Command Get-Command |
53-
Aspect.DynamicParameter
54-
}
55-
it 'Get-PipeScript Example 13' {
56-
Get-Command Get-Process |
57-
Aspect.DynamicParameter -IncludeParameter Name | Select -Expand Keys | Should -Be Name
58-
}
5924
}
6025

0 commit comments

Comments
 (0)