mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add CI tag to SemanticVersion.Tests.ps1
This commit is contained in:
1 parent
06252836ea
commit
d591871b2c
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using namespace System.Management.Automation
|
using namespace System.Management.Automation
|
||||||
using namespace System.Management.Automation.Language
|
using namespace System.Management.Automation.Language
|
||||||
|
|
||||||
Describe "SemanticVersion api tests" {
|
Describe "SemanticVersion api tests" -Tags 'CI' {
|
||||||
Context "constructing valid versions" {
|
Context "constructing valid versions" {
|
||||||
It "string argument constructor" {
|
It "string argument constructor" {
|
||||||
$v = [SemanticVersion]::new("1.2.3-alpha")
|
$v = [SemanticVersion]::new("1.2.3-alpha")
|
||||||
@@ -184,4 +184,4 @@ Describe "SemanticVersion api tests" {
|
|||||||
{ [SemanticVersion]::new([Version]::new("1.2")) } | Should Throw # PSArgumentException
|
{ [SemanticVersion]::new([Version]::new("1.2")) } | Should Throw # PSArgumentException
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user